Monday, April 4, 2011

[Linux Ubuntu] How to Check CPU Utilization

Make sure you follow the steps explained in previous post :). Using sar, we can also monitor CPU utilization per second. Just press Ctrl+Alt+T to open Terminal and here is the command line to check CPU utilization per second:
sar -u 1
If you want to know CPU utilization in current second, just add one parameter behind like this:
sar -u 1 1
And it's done!

No comments: