[root@localhost /]# sar
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
12:00:01 AM CPU %user %nice %system %iowait %steal %idle
12:10:01 AM all 53.74 0.16 0.60 0.06 0.00 45.45
12:20:01 AM all 35.60 0.06 0.50 0.13 0.00 63.71
12:30:01 AM all 0.17 0.05 0.22 0.03 0.00 99.53
sar -b (iostat)
[root@localhost /]# sar -b
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
12:00:01 AM tps rtps wtps bread/s bwrtn/s
12:10:01 AM 10.00 0.04 9.96 0.91 393.11
12:20:01 AM 14.62 3.94 10.68 144.79 308.07
12:30:01 AM 9.86 0.19 9.67 2.58 278.07
12:40:01 AM 12.06 0.20 11.86 2.98 328.52
12:50:01 AM 9.54 0.15 9.40 1.84 274.74
01:00:01 AM 9.70 0.13 9.57 1.70 276.60
sar -Bc
[root@localhost /]# sar -B
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
12:00:01 AM pgpgin/s pgpgout/s fault/s majflt/s
12:10:01 AM 0.23 98.28 422.16 0.01
12:20:01 AM 36.20 77.02 446.76 0.14
12:30:01 AM 0.65 69.53 451.04 0.00
12:40:01 AM 0.75 82.12 449.42 0.00
12:50:01 AM 0.46 68.69 409.23 0.00
sar -c (number of process /sec)
[root@localhost /]# sar -c
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
12:00:01 AM proc/s
12:10:01 AM 0.77
12:20:01 AM 0.89
12:30:01 AM 0.80
12:40:01 AM 0.80
sar -r
[root@localhost /]# sar -r
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
12:00:01 AM kbmemfree kbmemused %memused kbbuffers kbcached kbswpfree kbswpused %swpused kbswpcad
12:10:01 AM 59532 3948544 98.51 22200 1594164 170665620 3005012 1.73 333680
12:20:01 AM 55860 3952216 98.61 23404 1609856 170682552 2988080 1.72 335440
12:30:01 AM 53316 3954760 98.67 24320 1609972 170682580 2988052 1.72 335452
12:40:01 AM 46304 3961772 98.84 25144 1612908 170682620 2988012 1.72 335420
12:50:01 AM 44712 3963364 98.88 25972 1613088 170682636 2987996 1.72 335420
sar -q
[root@localhost /]# sar -q
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
12:00:01 AM runq-sz plist-sz ldavg-1 ldavg-5 ldavg-15
12:10:01 AM 4 555 1.57 1.43 1.37
12:20:01 AM 0 549 0.04 0.69 1.08
12:30:01 AM 0 549 0.00 0.09 0.55
[root@localhost /]# sar -s 11:22:33 -e 21:21:22
Linux 2.6.18-308.el5 (localhost.localdomain) 03/14/2017
11:30:01 AM CPU %user %nice %system %iowait %steal %idle
11:40:01 AM all 0.38 0.01 0.19 0.74 0.00 98.68
11:50:01 AM all 0.24 0.03 0.14 0.07 0.00 99.51
12:00:01 PM all 0.35 0.00 0.15 0.59 0.00 98.91