TOP output Cpu(s) and %CPU don't fit on single core
Code:
Tasks: 51 total, 2 running, 49 sleeping, 0 stopped, 0 zombie I can't understand the "Cpu(s)" line in the overview in relation to the "%CPU" column showing the processes. So it looks like the CPU is close to 90% utilized, but the processes consume less than 20%.
Achim |
top vs ps is apples vs oranges.
You need to know what is being measured to know what is being reported. Read the respective manpages - very carefully. How (exactly) did you get that top report ?. As for the %sy, best bet would be a dodgy driver - or maybe interrupt handler. Which may indeed be the same thing of course. But I don't know ARM. |
according the man entry of ps command, the %CPU is the allover percentage during lifetime of the processes, so it is not a snapshot like done with top.
But at the end, I'm talking about a server with more or less constant load over all processes. So the allover percentage should not so much away from the actual percentage. And basically it is similiar to top's column. Still I don't know why the Cpu(s) load (sum of user & system) from top differs so much from the %CPU column from top. Any idea? BTW: I'm using EmDebian Squeeze |
All times are GMT -5. The time now is 01:21 AM. |