Newbi Sys Admin Under Training - Sar and Top not matching.
I guess I dont have a good understand of whats going on.
We have a miss behaving process. I figured Id use this problem as a learning opportunity while the real admins chase it down. Tops partial output is .. . Quote:
Quote:
|
You can type '1' in top and see different CPU instead of a combine one.
Maybe top show a percentage for 1 core (if you have 4 cores it could show even 400%) when you do not split the cores with the 1 key and sar might use a percentage relative to the total so it could show 100% instead. I'm not sure it is entirely correct, but my short experiments suggests something like this. |
Contents removed, misleading.
|
As suggested, top is non-normalised, so for multi-threaded processes, may report (significantly) above 100.
The duration the average usage is calculated over is also markedly diferent for the two tools. |
I believe it has to do with the multiple cores.
check /proc/cpuinfo instead for accuracy |
All times are GMT -5. The time now is 06:27 AM. |