[PLUG] Meaning of CPU stuff in TOP

Matt Alexander lowbassman at gmail.com
Sun Jan 15 06:55:31 UTC 2006


Denis Heidtmann wrote:
> The summary section of top has a line such as:
>
> Cpu(s): 20.8% us,  2.8% sy,  9.0% ni, 63.4% id,  0.7% wa,  3.2% hi, 
> 0.0% si
>
> What do sy, wa, hi, and si mean?  I have been unable to find any
> documentation.
>

"us" is the percentage of time spent running user applications.
"sy" is the amount of time in the kernel.
"ni" is the time spent running "nice"ed processes.
"id" is the the time the CPU wasn't doing anything.
"wa" is the time the CPU was waiting for some I/O operation to complete.
"hi" is the time spent with the IRQ handlers.
"si" is the time spent with the soft IRQ handlers.


Feel free to use my .toprc file.  It makes top perty...

RCfile for "top with windows"
Id:a, Mode_altscr=0, Mode_irixps=1, Delay_time=3.000, Curwin=1
Def     fieldscur=AEHIOQTWKNMbcdfgjplrsuvyzX
        winflags=64825, sortindx=10, maxtasks=0
        summclr=1, msgsclr=1, headclr=3, taskclr=1
Job     fieldscur=ABcEfgjlrstuvyzMKNHIWOPQdX
        winflags=32185, sortindx=10, maxtasks=0
        summclr=2, msgsclr=1, headclr=3, taskclr=5
Mem     fieldscur=ANOPQRSTUVbcdefgjlmyzWHIKX
        winflags=64825, sortindx=13, maxtasks=0
        summclr=5, msgsclr=5, headclr=4, taskclr=5
Usr     fieldscur=ABDECGfhijlopqrstuvyzMKNWX
        winflags=64825, sortindx=4, maxtasks=0
        summclr=3, msgsclr=3, headclr=2, taskclr=3





More information about the PLUG mailing list