1834650 Members
1936 Online
110069 Solutions
New Discussion

Re: "Cpu states" of top?

 
Henry_18
New Member

"Cpu states" of top?

How to explain the "Cpu states" of top command?
I can not find the definition for NICE, BLOCK, SWAIT, INTR and SSYS column in top man page.

Any suggestion? Thanks a lot.
3 REPLIES 3
Vijaya Kumar_3
Respected Contributor

Re: "Cpu states" of top?

"man top" says this:

Percentage of time spent in each of the processor states (user, nice, system, idle, interrupt and swapper) per active processor on the system.

Some info from internet:

The first four states in the list below are found on most every Unix system. Other state names may appear on different platforms, and some of these are also listed below.

Idle = Nothing to do
User = Running a user's process
INTERRUPT = Kernel Handling a kernel call, fault, or interrupt
Nice = Running a user's niced process
Wait = Waiting on some form of i/o
iowait = Waiting on user i/o
Swap (SSYS) = Waiting on swapping or paging i/o

Hope this helps
vijay
Known is a drop, unknown is ocean - visit me at http://vijay.theunixplace.com
Sanjiv Sharma_1
Honored Contributor

Re: "Cpu states" of top?

Hi Henry,

This link has answer for your query:
http://www.mcsr.olemiss.edu/cgi-bin/man-cgi?top+1

hth
Everything is possible
Henry_18
New Member

Re: "Cpu states" of top?

Thanks a lot.

about the NICE column, I had test by running the script
##
while true
do
:
done
##
I didn't change nice value when I running this script.
but the cpu states of top at column NICE
is almost 100%

Is it priority value calculating load?