Edmund R. MacKenty wrote:
> The top command will show a line in the header for each CPU.  Also, the
> /proc/cpuinfo file contains detailed information about each processor.  Do
> either of those have what you're looking for?
By default it only displays overall [all processors mixed together]. You can
press "1" in order to get per-cpu display. Looks like this:
top - 11:16:24 up 0 min,  2 users,  load average: 0.00, 0.00, 0.00
Tasks: 121 total,   2 running, 119 sleeping,   0 stopped,   0 zombie
Cpu0  :  0.0% us,  0.3% sy,  0.0% ni, 99.4% id,  0.3% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu1  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu2  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu3  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu4  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu5  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu6  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu7  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu8  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu9  :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu10 :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu11 :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu12 :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu13 :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu14 :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st
Cpu15 :  0.0% us,  0.0% sy,  0.0% ni, 100.0% id,  0.0% wa,  0.0% hi,  0.0% si, 
0.0% st

Fields are:
us : percentage of time spent in applications
sy : percentage of time spent in operating system
ni : percentage of time spent in applications that run low-prio
id : percentage of time being idle [enabled wait]
wa : percentage of time spent on waiting for IO to complete
st : percentage of time we'd like to compute, but z/VM has shamelessly stolen 
our CPU ;-)
--

Carsten Otte
IBM Linux technology center
ARCH=s390

----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390

Reply via email to