Vmstat

From Wikipedia, the free encyclopedia

The correct title of this article is vmstat. The initial letter is shown capitalized due to technical restrictions.

vmstat (virtual memory statistics) is a computer operating system monitoring tool that collects and displays summary information about memory, processes, interrupts, paging and block I/O information. By specifying the interval, it can be used to observe system activity interactively.

The vmstat tool is available on most UNIX and Unix-like operating systems, such as Linux. The syntax and output of vmstat often differs slightly between different operating systems.

Example:

#> vmstat 2 6
procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 0  0   2536  21496 185684 1353000    0    0     0    14    1     2  0  0 100  0
 0  0   2536  21496 185684 1353000    0    0     0    28 1030   145  0  0 100  0
 0  0   2536  21496 185684 1353000    0    0     0     0 1026   132  0  0 100  0
 0  0   2536  21520 185684 1353000    0    0     0     0 1033   186  1  0 99  0
 0  0   2536  21520 185684 1353000    0    0     0     0 1024   141  0  0 100  0
 0  0   2536  21584 185684 1353000    0    0     0     0 1025   131  0  0 100  0
#>

[edit] See also

  • top
  • iostat for IO statistics
  • netstat for network statistics
  • mpstat for CPU statistics

[edit] External links

In other languages