Continuous performance monitoring with the sar command
The sar command is useful in determining CPU usage.
The following is a sample report produced by the sar command:
# sar -P ALL 5 2
AIX aixhost 2 5 00040B0F4C00 01/29/04
10:23:15 cpu %usr %sys %wio %idle
10:23:20 0 0 0 1 99
1 0 0 0 100
2 0 1 0 99
3 0 0 0 100
- 0 0 0 99
10:23:25 0 4 0 0 96
1 0 0 0 100
2 0 0 0 100
3 3 0 0 97
- 2 0 0 98
Average 0 2 0 0 98
1 0 0 0 100
2 0 0 0 99
3 1 0 0 99
- 1 0 0 99
The sar command does not report the cumulative activity since the last system boot.
For details on the sar command, see The sar command and Assessing disk performance with the sar command.