Is the CPU utilization percent calculated by computing 100 - idle%
when using mpstat
to calculate the average CPU usage? Is this correct or do I have to compute the CPU utilization in any other way? Thanks!
Asked
Active
Viewed 1,058 times
0

Terry Jan Reedy
- 18,414
- 3
- 40
- 52

Lynx
- 165
- 1
- 11
-
Check this, It may help: [How to get overall CPU Usage][1] [1]: http://stackoverflow.com/questions/9229333/how-to-get-overall-cpu-usage-e-g-57-on-linux – Carlos Landeras Nov 23 '12 at 20:15
-
possible duplicate of [How can I determine the current CPU utilization from the shell?](http://stackoverflow.com/questions/1332861/how-can-i-determine-the-current-cpu-utilization-from-the-shell) – Damon Nov 26 '12 at 17:04