Difference between revisions of "top multiple cpu, multicore monitoring"

From thelinuxwiki
Jump to: navigation, search
(Created page with " One of the lines has CPU usage information represented like this: Cpu(s): 87.3%us, 1.2%sy, 0.0%ni, 27.6%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st '''us''': user cpu time ...")
 
 
(3 intermediate revisions by one user not shown)
Line 1: Line 1:
  
  
One of the lines has CPU usage information represented like this:
+
To view individual CPU core information with top,
Cpu(s): 87.3%us, 1.2%sy,  0.0%ni, 27.6%id,  0.0%wa,  0.0%hi,  0.0%si,  0.0%st
+
  
 +
run top interactively, then hit "1" to see a detailed view like...
  
 +
Tasks: 223 total,  2 running, 221 sleeping,  0 stopped,  0 zombie
 +
%Cpu0  : 28.4 us,  8.8 sy, 12.9 ni, 49.5 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
 +
%Cpu1  : 15.9 us,  7.6 sy, 16.2 ni, 58.0 id,  0.0 wa,  0.0 hi,  2.2 si,  0.0 st
 +
%Cpu2  :  8.6 us,  5.2 sy, 10.7 ni, 74.8 id,  0.0 wa,  0.0 hi,  0.6 si,  0.0 st
 +
%Cpu3  :  8.1 us,  3.6 sy,  7.5 ni, 80.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
  
'''us''': user cpu time (or) % CPU time spent in user space
+
 
'''sy''': system cpu time (or) % CPU time spent in kernel space
+
'''Column information''' (not in man page)
'''ni''': user nice cpu time (or) % CPU time spent on low priority processes
+
 
'''id''': idle cpu time (or) % CPU time spent idle
+
'''us''': user cpu time (or) % CPU time spent in user space<br>
'''wa''': io wait cpu time (or) % CPU time spent in wait (on disk)
+
'''sy''': system cpu time (or) % CPU time spent in kernel space<br>
'''hi''': hardware irq (or) % CPU time spent servicing/handling hardware interrupts
+
'''ni''': user nice cpu time (or) % CPU time spent on low priority processes<br>
'''si''': software irq (or) % CPU time spent servicing/handling software interrupts
+
'''id''': idle cpu time (or) % CPU time spent idle<br>
'''st''': steal time - - % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU  time stolen from a virtual machine
+
'''wa''': io wait cpu time (or) % CPU time spent in wait (on disk)<br>
 +
'''hi''': hardware irq (or) % CPU time spent servicing/handling hardware interrupts<br>
 +
'''si''': software irq (or) % CPU time spent servicing/handling software interrupts<br>
 +
'''st''': steal time - - % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU  time stolen from a virtual machine<br>
 +
 
 +
[[category:monitoring]]

Latest revision as of 22:58, 24 July 2013


To view individual CPU core information with top,

run top interactively, then hit "1" to see a detailed view like...

Tasks: 223 total,   2 running, 221 sleeping,   0 stopped,   0 zombie
%Cpu0  : 28.4 us,  8.8 sy, 12.9 ni, 49.5 id,  0.0 wa,  0.0 hi,  0.3 si,  0.0 st
%Cpu1  : 15.9 us,  7.6 sy, 16.2 ni, 58.0 id,  0.0 wa,  0.0 hi,  2.2 si,  0.0 st
%Cpu2  :  8.6 us,  5.2 sy, 10.7 ni, 74.8 id,  0.0 wa,  0.0 hi,  0.6 si,  0.0 st
%Cpu3  :  8.1 us,  3.6 sy,  7.5 ni, 80.8 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st


Column information (not in man page)

us: user cpu time (or) % CPU time spent in user space
sy: system cpu time (or) % CPU time spent in kernel space
ni: user nice cpu time (or) % CPU time spent on low priority processes
id: idle cpu time (or) % CPU time spent idle
wa: io wait cpu time (or) % CPU time spent in wait (on disk)
hi: hardware irq (or) % CPU time spent servicing/handling hardware interrupts
si: software irq (or) % CPU time spent servicing/handling software interrupts
st: steal time - - % CPU time in involuntary wait by virtual cpu while hypervisor is servicing another processor (or) % CPU time stolen from a virtual machine