Friday, October 28, 2005

Virtual Memory - VMSTAT

vmstat displays virtual memory information.

vmstat reference

vmstat: invalid option -- ?
usage: vmstat [flags] [delay [count]]
--noheaders, -n do not reprint the headers
--active, -a print active/inactive page stats
--bytes, -b print statistics in bytes
--kb, -k print statistics in KB
--mb, -m print statistics in MB
--gb, -g print statistics in GB
--version, -V print version and exit
--help, -h display this help and exit

delay is the delay in seconds between each update
count is the number of updates to display before exiting
The default delay is zero and count is one

For more information about virtual memory

man vmstat
# or
vmstat -?

vmstat [flags] [delay [count]]

The vmstat(8) utility reports statistical information about process
status, memory consumption, paging activity, block I/O operations,
interrupts, context switches, and processor usage.

The vmstat(8) utility is most commonly used to produce a continuous
report every delay seconds. In this mode, the first report given is
the average of the statistics since system boot. Each subsequent line
pertains to that sampling period (that is, the last delay seconds). If
no delay value is given, only one report is given, which is the average
since system boot.

The optional count value specifies a maximum number of reports to print
before terminating. By default (that is, when no count value is given)
vmstat(8) will continue to print reports every delay seconds until

Normal invocation of vmstat(8) does not require any options. The out-
put, however, can be fine-tuned by specifying one or more of the fol-
lowing flags:

Computers -


Post a Comment

Links to this post:

Create a Link

<< Home