VMSTAT(C) XENIX System V VMSTAT(C)
Name
vmstat - Report paging and system statistics.
Syntax
vmstat [ -fs ] [ -n namelist ] [ -c corefile ] [ -l lines ]
[ interval [ count ]]
Description
vmstat reports some statistics kept by the system on
processes, demand paging, and cpu and trap activity. Three
types of reports are available:
(default)
A summary of the number of processes in various states,
paging activity, system activity, and cpu cycle
consumption.
-f Number of fork(S)'s done.
-s A verbose listing of paging and trap activity.
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 flags that may be specified include:
-c corefile
Uses the file corefile in place of /dev/kmem.
-n namelist
Use file namelist as an alternate symbol table instead
of /xenix.
-l lines
For the default display, repeat the header every lines
reports (default is 20).
The fields in the default report are:
procs
The number of processes which are:
r In the run queue.
b Blocked waiting for resources.
Page 1 (printed 2/7/91)
VMSTAT(C) XENIX System V VMSTAT(C)
w Swapped out.
These values always reflect the current situation, even
if the totals since boot are being displayed.
paging
Reports on the performance of the demand paging system.
Unless the totals since boot are being displayed, this
information is averaged over the proceeding interval
seconds:
si Number of processes swapped in.
so Number of processes swapped out.
ch Page cache hits.
cm Page cache misses.
ffr Filesystem page reads.
swr Swap area page reads.
sww Swap area page writes.
rec Number of pages reclaimed from the free list.
shf Number of pages shared as copy-on-write after
fork.
shc Number of pages shared due to cache hits.
cpy Number of shared pages copied.
pf Number of page faults.
system
Reports on the general system activity. Unless the
totals since boot are being shown, these figures are
averaged over the last interval seconds:
in Number of (non-clock) device interrupts.
sy Number of system calls.
cs Number of context switches.
cpu Percentage of cpu cycles spent in various operating
modes:
us User.
Page 2 (printed 2/7/91)
VMSTAT(C) XENIX System V VMSTAT(C)
su System.
id Idle.
The -f and -s reports are a series of lines of the form:
number description
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
self-explanatory.
Files
/xenix
Default namelist.
/dev/kmem
Default source of statistics.
Notes
________________________________
| |
| This utility is only available|
| on -386 distributions. |
| |
|_______________________________|
See Also
fork(S), ps(C), pstat(C)
Page 3 (printed 2/7/91)