Feel free to copy, modify and share what you like.
CPU load Percent
To get the cpu load in percent of all cores use this:
top -bn 2 | awk '/^%Cpu(s):/ {if(NR != 3){gsub(",",".",$8);print 100-$8}}'
5 thoughts on “CPU load Percent”
Have you ever thought about creating an ebook or guest
authoring on other sites? I have a blog centered on the same subjects
you discuss and would love to have you share some stories/information. I know
my audience would value your work. If you’re even remotely interested, feel free to shoot me
an email.
I’m pretty pleased to uncover this web site. I would like
to to thanks a lot for ones time just for this fantastic read!!
I definitely really liked every amount of it and i
also have you ever saved to fav to look at new things with
your site.
I have learn some just right stuff here. Definitely value bookmarking for revisiting. I surprise how much attempt you put to create this kind of great informative site.
Have you ever thought about creating an ebook or guest
authoring on other sites? I have a blog centered on the same subjects
you discuss and would love to have you share some stories/information. I know
my audience would value your work. If you’re even remotely interested, feel free to shoot me
an email.
Hi there, I log on to your blogs like every week. Your writing style is witty,
keep it up!
I’m pretty pleased to uncover this web site. I would like
to to thanks a lot for ones time just for this fantastic read!!
I definitely really liked every amount of it and i
also have you ever saved to fav to look at new things with
your site.
Very wonderful info can be found on weblog.
I have learn some just right stuff here. Definitely value bookmarking for revisiting. I surprise how much attempt you put to create this kind of great informative site.