sarの新しい列

CPUの使用率を見る場合にvmstatだけだと平均値でしか参照できない。CPU別に使用率を見るためにはsarを
使用する。「sar -P ALL 5 5」などで取得すれば、各CPUの使用率を確認できる。AIXのV5.3からは今までの
usr/sys/wio/idleに加えてphyscと%entcが出力されるようになったようだ。設定によっては%entcは表示
されないケースもある。

The sar command collects and reports system-wide statistics, such as CPU and I/O utilization.If -P ALL is given, sar reports statistics for each logical processor, followed by system-wide statistics. Beginning with AIX V5.3, sar also adds two new metrics: physc and %entc.

  • physc measures the fraction of time a logical processor was getting physical processor cycles.
  • %entc calculates the relative entitlement consumed for each logical processor

# sar -P ALL 5 5
System configuration: lcpu=4 ent=0.80
16:00:18 cpu %usr %sys %wio %idle physc %entc
16:00:23 0 27 65 0 7 0.00 0.5
1 0 8 0 92 0.00 0.2
2 10 45 0 45 0.00 0.2
3 0 14 0 86 0.00 0.1
U - - 0 98 0.79 99.0
- 0 0 0 99 0.01 1.0

http://www-941.ibm.com/collaboration/wiki/display/WikiPtype/monitoring