OS Manuals

/usr/bin/vmstat

utilities for monitor processes on a system

From procps 4.0.7-r3 (os), captured 2026-11-05 by running vmstat --help (exit 0). permalink

Usage:
 vmstat [options] [delay [count]]

Options:
 -a, --active           active/inactive memory
 -f, --forks            number of forks since boot
 -m, --slabs            slabinfo
 -n, --one-header       do not redisplay header
 -s, --stats            event counter statistics
 -d, --disk             disk statistics
 -D, --disk-sum         summarize disk statistics
 -p, --partition <dev>  partition specific statistics
 -S, --unit <char>      define display unit
 -w, --wide             wide output
 -t, --timestamp        show timestamp
 -y, --no-first         skips first line of output

 -h, --help     display this help and exit
 -V, --version  output version information and exit

For more details see vmstat(8).
Options (14)
OptionDescriptionSource
-a, --activeDisplay active and inactive memory, given a 2.5.41 kernel or better.help + man
-f, --forksThe -f switch displays the number of forks since boot.help + man
-m, --slabsDisplays slabinfo.help + man
-n, --one-headerDisplay the header only once rather than periodically.help + man
-s, --statsDisplays a table of various event counters and memory statistics.help + man
-d, --diskReport disk statistics (2.5.70 or above required).help + man
-D, --disk-sumReport some summary statistics about disk activity.help + man
-p, --partition devDetailed statistics about partition (2.5.70 or above required).help + man
-S, --unit charSwitches outputs between 1000 (k), 1024 (K), 1000000 (m), or 1048576 (M) bytes.help + man
-w, --wideWide output mode (useful for systems with higher amount of memory, where the default output mode suffers from unwanted column breakage).help + man
-t, --timestampAppend timestamp to each linehelp + man
-y, --no-firstOmits first report with statistics since system boot.help + man
-h, --helpdisplay this help and exithelp + man
-V, --versionDisplay version information and exit.help + man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.