Reputation: 14068
I am trying to diagnose a problem on a server box that I believe is related to CPU usage.
However, when I log in to the box and run 'top' I see a %CPU of 160 or higher. This is because this is a multi-processor box.
How do I see the CPU usage of the individual processors?
How can I do this in real time?
Thanks!
Upvotes: 11
Views: 12395
Reputation: 11
mpstat -P ALL 5
it will report individual cpu usage every 5 seconds
Upvotes: 1
Reputation: 5951
What UNIX are we talking here?
Try mpstat
if you're in Solaris or Linux.
Upvotes: 8