report paging and system statistics
[ -fs ] [ -n namelist ]
[ -l lines ] [ interval [ count ]]
vmstat reports some statistics kept by the system on
processes, demand paging, and CPU and trap activity. Three
types of reports are available:
By default, vmstat displays a summary of the number of
processes in various states, paging activity, system activity, and
CPU cycle consumption.
The -f option reports the number of
system calls performed.
The -s option outputs a verbose listing of paging and
If no interval or count is specified, the totals
since system bootup are displayed.
If an interval is given, the number of events that have
occurred in the last interval seconds is shown. If no
count is specified, this display is repeated forever every
interval seconds. Otherwise, when a count is
also specified, the information is displayed count times.
Other options that may be specified include:
Use file namelist as an alternate symbol table instead of
For the default display, repeat the header every lines
reports (default is 20).
The fields in the default report are:
The number of processes which are:
In the run queue.
Blocked waiting for resources.
These values always reflect the current situation, even if the
totals since boot are being displayed.
Reports on the performance of the demand paging system. Unless the
totals since boot are being displayed, this information is averaged
over the preceding interval seconds:
Free swap space.
Demand zero and demand fill pages.
Pages on swap.
Pages in cache.
Pages on file.
Processes swapped out successfully.
Processes swapped in unsuccessfully.
Processes swapped in successfully.
Regions swapped out.
Regions swapped in.
Reports on the general system activity. Unless the totals since
boot are being shown, these figures are averaged over the last
Number of system calls.
Number of context switches.
Percentage of CPU cycles spent in various operating modes:
The -f and -s reports are a series of lines of
which means that number of the items described by
description happened (either since boot or in the last
interval seconds, as appropriate). These reports should be
default source of statistics
vmstat is not part of any currently supported standard; it
is an extension of AT&T System V provided by The Santa
Cruz Operation, Inc.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003