tags:

views:

829

answers:

2

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!

+5  A: 

run "top"

press 1

twk
If you're using procps top (default on most Linux), that is. Traditional UNIX top doesn't have this feature.
ephemient
+4  A: 

What UNIX are we talking here?

Try mpstat if you're in Solaris or Linux.

Martin Carpenter