System information
System Monitoring Utilities 15
16:12:32 259320 1796356 87.39 20808 72660 2229080 62.06
16:12:42 381096 1674580 81.46 21084 75460 2328192 64.82
16:12:52 642668 1413008 68.74 21392 81212 1938820 53.98
16:13:02 311984 1743692 84.82 21712 84040 2212024 61.58
Average: 428651 1627025 79.15 21104 75515 2209280 61.51
The last two columns (kbcommit and %commit) show an approximation of the total
amount of memory (RAM plus swap) the current workload would need in the worst
case (in kilobyte or percent respectively).
Paging Statistics Report: sar -B
Use the option -B to display the kernel paging statistics.
mercury:~ # sar -B 10 5
Linux 2.6.31.12-0.2-default (mercury) 03/05/10 _x86_64_ (2 CPU)
16:11:43 pgpgin/s pgpgout/s fault/s majflt/s pgfree/s pgscank/s pgscand/s pgsteal/s %vmeff
16:11:53 225.20 104.00 91993.90 0.00 87572.60 0.00 0.00 0.00 0.00
16:12:03 718.32 601.00 82612.01 2.20 99785.69 560.56 839.24 1132.23 80.89
16:12:13 1222.00 1672.40 103126.00 1.70 106529.00 1136.00 982.40 1172.20 55.33
16:12:23 112.18 77.84 113406.59 0.10 97581.24 35.13 127.74 159.38 97.86
16:12:33 817.22 81.28 121312.91 9.41 111442.44 0.00 0.00 0.00 0.00
Average: 618.72 507.20 102494.86 2.68 100578.98 346.24 389.76 492.60 66.93
The majflt/s (major faults per second) column shows how many pages are loaded
from disk (swap) into memory. A large number of major faults slows down the sys-
tem and is an indication of insufficient main memory. The %vmeff column shows
the number of pages scanned (pgscand/s) in relation to the ones being reused from the
main memory cache or the swap cache (pgsteal/s). It is a measurement of the efficien-
cy of page reclaim. Healthy values are either near 100 (every inactive page swapped
out is being reused) or 0 (no pages have been scanned). The value should not drop be-
low 30.
Block Device Statistics Report: sar -d
Use the option -d to display the block device (hdd, optical drive, USB storage de-
vice, ...). Make sure to use the additional option -p (pretty-print) to make the DEV
column readable.
mercury:~ # sar -d -p 10 5
Linux 2.6.31.12-0.2-default (neo) 03/05/10 _x86_64_ (2 CPU)
16:28:31 DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util
16:28:41 sdc 11.51 98.50 653.45 65.32 0.10 8.83 4.87 5.61
16:28:41 scd0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
16:28:41 DEV tps rd_sec/s wr_sec/s avgrq-sz avgqu-sz await svctm %util
16:28:51 sdc 15.38 329.27 465.93 51.69 0.10 6.39 4.70 7.23