Chapter 3 Appendix
3.2.3 Processor utilization
The utilization rate of all logical processors is given by executing the mpstat command provided in a Linux
distribution.
For Red Hat Enterprise Linux 5, sysstat-[version].rpm contains the command.
Execution example
# mpstat -P ALL
Execution result
Linux 2.6.18-164.el5 (localhost.localdomain) 11/17/09
17:59:30
CPU
%user
17:59:30
all
1.23
17:59:30
0
0.42
17:59:30
1
0.41
17:59:30
2
2.17
17:59:30
3
1.85
17:59:30
4
0.87
17:59:30
5
2.42
17:59:30
6
0.30
17:59:30
7
1.36
You can acquire the processor utilization rate by subtracting %idle from 100%.
Express5800/A1040b, A2040b, A2020b, A2010b Maintenance Guide
130
3. Accessing Data for Electric Power, Temperature, and Processor Utilization
%nice
%sys %iowait
%irq
%soft %steal
0.04
0.42
2.69
0.03
0.10
0.00
0.58
0.76
0.00
0.00
0.00
0.29
1.09
0.00
0.00
0.00
0.33
2.30
0.00
0.00
0.08
0.68
8.55
0.00
0.60
0.00
0.19
0.42
0.00
0.00
0.01
0.35
1.31
0.08
0.00
0.01
0.17
1.39
0.00
0.00
0.20
0.74
5.72
0.12
0.20
%idle
intr/s
0.00
95.49
1086.42
0.00
98.24
666.34
0.00
98.21
0.00
0.00
95.21
0.00
0.00
88.24
379.87
0.00
98.53
0.00
0.00
95.83
6.63
0.00
98.13
0.02
0.00
91.66
33.54