version 1, including all changes.
.
| Rev |
Author |
# |
Line |
| 1 |
perry |
1 |
VMSTAT |
| |
|
2 |
!!!VMSTAT |
| |
|
3 |
NAME |
| |
|
4 |
SYNOPSIS |
| |
|
5 |
DESCRIPTION |
| |
|
6 |
FIELD DESCRIPTIONS |
| |
|
7 |
NOTES |
| |
|
8 |
FILES |
| |
|
9 |
SEE ALSO |
| |
|
10 |
BUGS |
| |
|
11 |
AUTHOR |
| |
|
12 |
---- |
| |
|
13 |
!!NAME |
| |
|
14 |
|
| |
|
15 |
|
| |
|
16 |
vmstat - Report virtual memory statistics |
| |
|
17 |
!!SYNOPSIS |
| |
|
18 |
|
| |
|
19 |
|
| |
|
20 |
__vmstat__ [[__-n__] [[''delay'' [[ |
| |
|
21 |
''count'']]__ |
| |
|
22 |
vmstat__[[__-V__] |
| |
|
23 |
!!DESCRIPTION |
| |
|
24 |
|
| |
|
25 |
|
| |
|
26 |
__vmstat__ reports information about processes, memory, |
| |
|
27 |
paging, block IO, traps, and cpu activity. |
| |
|
28 |
|
| |
|
29 |
|
| |
|
30 |
The first report produced gives averages since the last |
| |
|
31 |
reboot. Additional reports give information on a sampling |
| |
|
32 |
period of length ''delay''. The process and memory |
| |
|
33 |
reports are instantaneous in either case. |
| |
|
34 |
|
| |
|
35 |
|
| |
|
36 |
__Options__ |
| |
|
37 |
|
| |
|
38 |
|
| |
|
39 |
The __-n__ switch causes the header to be displayed only |
| |
|
40 |
once rather than periodically. |
| |
|
41 |
|
| |
|
42 |
|
| |
|
43 |
''delay'' is the delay between updates in seconds. If no |
| |
|
44 |
delay is specified, only one report is printed with the |
| |
|
45 |
average values since boot. |
| |
|
46 |
|
| |
|
47 |
|
| |
|
48 |
''count'' is the number of updates. If no count is |
| |
|
49 |
specified and delay is defined, ''count'' defaults to |
| |
|
50 |
infinity. |
| |
|
51 |
|
| |
|
52 |
|
| |
|
53 |
The __-V__ switch results in displaying version |
| |
|
54 |
information. |
| |
|
55 |
!!FIELD DESCRIPTIONS |
| |
|
56 |
|
| |
|
57 |
|
| |
|
58 |
__Procs__ |
| |
|
59 |
|
| |
|
60 |
|
| |
|
61 |
r: The number of processes waiting for run time. |
| |
|
62 |
b: The number of processes in uninterruptable sleep. |
| |
|
63 |
w: The number of processes swapped out but otherwise runnable. This |
| |
|
64 |
field is calculated, but Linux never desperation swaps. |
| |
|
65 |
|
| |
|
66 |
|
| |
|
67 |
__Memory__ |
| |
|
68 |
|
| |
|
69 |
|
| |
|
70 |
swpd: the amount of virtual memory used (kB). |
| |
|
71 |
free: the amount of idle memory (kB). |
| |
|
72 |
buff: the amount of memory used as buffers (kB). |
| |
|
73 |
|
| |
|
74 |
|
| |
|
75 |
__Swap__ |
| |
|
76 |
|
| |
|
77 |
|
| |
|
78 |
si: Amount of memory swapped in from disk (kB/s). |
| |
|
79 |
so: Amount of memory swapped to disk (kB/s). |
| |
|
80 |
|
| |
|
81 |
|
| |
|
82 |
__IO__ |
| |
|
83 |
|
| |
|
84 |
|
| |
|
85 |
bi: Blocks sent to a block device (blocks/s). |
| |
|
86 |
bo: Blocks received from a block device (blocks/s). |
| |
|
87 |
|
| |
|
88 |
|
| |
|
89 |
__System__ |
| |
|
90 |
|
| |
|
91 |
|
| |
|
92 |
in: The number of interrupts per second, including the clock. |
| |
|
93 |
cs: The number of context switches per second. |
| |
|
94 |
|
| |
|
95 |
|
| |
|
96 |
__CPU__ |
| |
|
97 |
|
| |
|
98 |
|
| |
|
99 |
These are percentages of total CPU time. |
| |
|
100 |
|
| |
|
101 |
|
| |
|
102 |
us: user time |
| |
|
103 |
sy: system time |
| |
|
104 |
id: idle time |
| |
|
105 |
!!NOTES |
| |
|
106 |
|
| |
|
107 |
|
| |
|
108 |
__vmstat__ does not require special |
| |
|
109 |
permissions. |
| |
|
110 |
|
| |
|
111 |
|
| |
|
112 |
These reports are intended to help identify system |
| |
|
113 |
bottlenecks. Linux __vmstat__ does not count itself as a |
| |
|
114 |
running process. |
| |
|
115 |
|
| |
|
116 |
|
| |
|
117 |
All linux blocks are currently 1k, except for CD-ROM blocks |
| |
|
118 |
which are 2k. |
| |
|
119 |
!!FILES |
| |
|
120 |
|
| |
|
121 |
|
| |
|
122 |
/proc/meminfo |
| |
|
123 |
/proc/stat |
| |
|
124 |
/proc/*/stat |
| |
|
125 |
!!SEE ALSO |
| |
|
126 |
|
| |
|
127 |
|
| |
|
128 |
ps(1), top(1), free(1) |
| |
|
129 |
!!BUGS |
| |
|
130 |
|
| |
|
131 |
|
| |
|
132 |
Does not tabulate the block io per device or count the |
| |
|
133 |
number of system calls. |
| |
|
134 |
!!AUTHOR |
| |
|
135 |
|
| |
|
136 |
|
| |
|
137 |
Written by Henry Ware |
| |
|
138 |
---- |