LinuxHelps.com

A blog for Linux Lovers.

8
Mar 2009
vmstat - command
Posted in Linux Helps by sibu at 5:35 am |

vmstat reports information about processes, memory, paging, block IO,
traps, and cpu activity.


FIELD DESCRIPTION FOR VM MODE

Procs
r: The number of processes waiting for run time. or
Average number of kernel threads that are runnable, which includes threads that are running and threads that are waiting for the CPU.
b: The number of processes in uninterruptible sleep. or Average number of kernel threads in the VMM wait queue per second. This includes threads that are waiting on filesystem I/O or threads that have been suspended due to memory load control.

Memory
swpd: the amount of virtual memory used.
free: the amount of idle memory.
buff: the amount of memory used as buffers.
cache: the amount of memory used as cache.
inact: the amount of inactive memory. (-a option)
active: the amount of active memory. (-a option)

Swap
si: Amount of memory swapped in from disk (/s).
so: Amount of memory swapped to disk (/s).

IO
bi: Blocks received from a block device (blocks/s).
bo: Blocks sent to a block device (blocks/s).

System
in: The number of interrupts per second, including the clock.
cs: The number of context switches per second.

CPU
These are percentages of total CPU time.
us: Time spent running non-kernel code. (user time, including nice time)
sy: Time spent running kernel code. (system time)
id: Time spent idle. Prior to Linux 2.5.41, this includes IO-wait time.
wa: Time spent waiting for IO. Prior to Linux 2.5.41, shown as zero.


You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a Reply