Operating System - HP-UX
1836645 Members
1666 Online
110102 Solutions
New Discussion

Is user+nice+sys+block+swait+intr+ssys+idle=100%

 
eric wang_2
Frequent Advisor

Is user+nice+sys+block+swait+intr+ssys+idle=100%

when i run top command,
does add user+nice+sys+block+swait+intr+ssys+idle calcuate the sum result is 100% ,is it right or not
thanks
3 REPLIES 3
Michal Kapalka (mikap)
Honored Contributor

Re: Is user+nice+sys+block+swait+intr+ssys+idle=100%

hi,

i would recomend to use glance or gpm ( gui )


instead of top.

mikap
Dennis Handly
Acclaimed Contributor

Re: Is user+nice+sys+block+swait+intr+ssys+idle=100%

I would assume so, do you have evidence to the contrary? That's what this means:
Percentage of time spent in each of the processor states
P Muralidhar Kini
Honored Contributor

Re: Is user+nice+sys+block+swait+intr+ssys+idle=100%

Hi Eric,

>> when i run top command,
Top command displays various processes in the system based on their CPU consumption.

>> does add user+nice+sys+block+swait+intr+ssys+idle calcuate the sum
>> result is 100% ,is it right or not
If the TOP command displays all the processes in the system, then if you add
up the CPU consumption percentage of all the processes that are listed, it
should sum up to 100%.
However if the TOP command has a -N option, then it would display the CPU
consumption of only the TOP N processes. In this case, adding the CPU
consumption values of all the N processes may not sum up to 100%.

For more information on the TOP command, Refer
http://docs.hp.com/en/B2355-60127/top.1.html

Hope this helps.

Regards,
Murali
Let There Be Rock - AC/DC