Example: Page (In Units Per Second)
Example: Page (In Units Per Second)
The following command displays a summary of what the is doing every five seconds. procs id 82 62 64 78 example% vmstat 5 memory page disk faults r b w swap free re mf pi p fr de sr s0 s1 s2 s3 in 0 0 0 11456 4120 1 0 0 1 10132 4280 0 0 0 1 10132 4616 0 0 0 1 10132 5292 0 41 19 1 4 44 0 0 20 0 0 9 0 3 0 0 0 0 0 0 0 2 0 0 0 0 4 0 0 0 0 0 system
sy
cpu cs us sy 4 14 3 35 3 33 1 21
48 112 130
0 23 0 19 0 21
The fields of vmstat's display are procs r in run queue b blocked for resources I/O, paging etc. w swapped memory (in Kbytes) swap - amount of swap space currently available free - size of the free list page ( in units per second). re page reclaims - see -S option for how this field is modified. mf minor faults - see -S option for how this field is modified. pi kilobytes paged in po kilobytes paged out fr kilobytes freed de anticipated short-term memory shortfall (Kbytes) sr pages scanned by clock algorithm disk ( operations per second ) There are slots for up to four disks, labeled with a single letter and number. The letter indicates the type of disk (s = SCSI, i = IPI, etc) . The number is the logical unit number. faults in (non clock) device interrupts sy system calls cs CPU context switches cpu - breakdown of percentage usage of CPU time. On multiprocessors this is an a verage across all processors. us user time