Understanding top output in Linux

Posted by Rayne on Stack Overflow See other posts from Stack Overflow or by Rayne
Published on 2010-04-08T04:11:19Z Indexed on 2010/04/08 4:13 UTC
Read the original article Hit count: 234

Filed under:
|
|
|

Hi,

I'm trying to determine the CPU usage of a program by looking at the output from Top in Linux. I understand that %us means userspace and %sy means system/kernel etc. But say I see 100%us. Does this mean that the CPU is really only doing useful work? What if a CPU is tied up waiting for resources that are not avaliable, or cache misses, would it also show up in the %us column, or any other column?

Thank you.

© Stack Overflow or respective owner

Related posts about top

Related posts about linux