0% found this document useful (0 votes)
26 views2 pages

Example: Page (In Units Per Second)

The vmstat command displays system resource usage statistics every 5 seconds including CPU usage, memory usage, paging, disk I/O, and process activity. It shows fields for the number of processes in different states, memory and swap space usage, page faults, disk operations, and CPU usage breakdown between user, system, and idle time.

Uploaded by

krishnamohan09
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views2 pages

Example: Page (In Units Per Second)

The vmstat command displays system resource usage statistics every 5 seconds including CPU usage, memory usage, paging, disk I/O, and process activity. It shows fields for the number of processes in different states, memory and swap space usage, page faults, disk operations, and CPU usage breakdown between user, system, and idle time.

Uploaded by

krishnamohan09
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

Example

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

0 211 230 144 0 150 172 146 0 165 105 130

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

sy system time id idle time

You might also like