summaryrefslogtreecommitdiff
path: root/static/unix-v10/man8/vmstat.8
blob: dd267fb0ce87e39e9bb59827ae6bbbd5a20ce18f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.TH VMSTAT 8
.CT 1 sa_mortals
.SH NAME
vmstat \- report virtual memory statistics
.SH SYNOPSIS
.B vmstat
[
.B -st
]
[
.I interval
[
.I count
]
]
.SH DESCRIPTION
.I Vmstat
reports statistics about certain system activity.
.ig x
Option
.B -f
reports on
.I forks
since system startup and the number of pages of virtual memory involved.
.x
Option
.B -s
prints totals for miscellaneous events
since the last boot.
Option
.B -t
reports on paging events.
.PP
In the absence of other options, the optional
.I interval
argument causes
.I vmstat
to report once each
.I interval
seconds, repeated
.I count
times or forever.
.PP
The default format fields are:
.TF faults
.TP
.B procs
information about numbers of processes in various states:
.RS
.PD 0
.TP
.B r
in run queue
.TP
.B b
blocked for resources (I/O, paging, etc.)
.TP
.B w
runnable or short sleeper (< 20 secs) but swapped
.RE
.PD
.TP
.B memory
use of virtual and real memory:
.RS
.PD 0
.TP
.B avm
number of
pages belonging to processes that have run
in the last 20 seconds
.TP
.B fre
size of memory free list
.RE
.PD
.TP
.B page
paging activity,
averaged each five seconds, in units per second:
.RS
.PD 0
.TP
.B re
page reclaims (simulating reference bits)
.TP
.B at
text pages recovered from memory
.TP
.B pi
page-in events
.TP
.B po
page-out events
.TP
.B fr
pages freed per second
.TP
.B de
anticipated short term memory shortfall
.TP
.B sr
scan rate: pageout daemon rpm
.RE
.PD
.TP
.B faults
trap rates, averaged each five seconds, in units per second:
.RS
.PD 0
.TP
.B sy
system calls
.TP
.B cs
process context switches
.RE
.PD
.TP
.B cpu
percentage use of CPU time:
.RS
.PD 0
.TP
.B us
user time, both normal and low priority
.TP
.B sy
system time
.TP
.B id
cpu idle time
.TP
.B st
stream queue processing time
.RE
.PD
.SH FILES
.F /dev/kmem
.br
.F /unix
.SH BUGS
This program is never up to date.