xref: /netbsd-src/external/cddl/dtracetoolkit/dist/Docs/Examples/xvmstat_example.txt (revision c29d51755812ace2e87aeefdb06cb2b4dac7087a)
1The following is a demonstration of the xvmstat program.
2
3
4Here we run it with no arguments. It will default to 1 second samples, and
5will run forever,
6
7  # xvmstat
8  w   swap  free   re maj   mf cow pro  sr epi epo epf api apo apf fpi fpo fpf
9  0   1025    73    2   0   21   0   0   0   0   0   0   0   0   0   0   0   0
10  0   1025    73    0   0    0   0   1   0   0   0   0   0   0   0   0   0   0
11  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
12  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
13  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
14  0   1025    73  199  42  166  21  41   0   0   0   0   0   0   0  42   0   0
15  0   1025    73    0   0    0   0   2   0   0   0   0   0   0   0   0   0   0
16  0   1025    73 4404  47  175  26  30   0   0   0   0   0   0   0  48   0   0
17  0   1025    73  433   0    0   0  14   0   0   0   0   0   0   0   0   0   0
18  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
19  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
20  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
21  ^C
22
23Both "swap" and "free" are in units of megabytes, the rest are in units of
24pages. "maj" is major faults - a useful addition to the output.
25
26There is no summary since boot line, as this program in not using the
27Kstat data.
28
29
30
31The following runs xvmstat with a 5 second interval,
32
33  # xvmstat 5
34  w   swap  free    re maj   mf cow pro  sr epi epo epf api apo apf fpi fpo fpf
35  0   1025    72  1531   2   40   5   9   0   0   0   0   0   0   0   2   0   0
36  0   1025    72  1534   0   36   5   9   0   0   0   0   0   0   0   0   0   0
37  0   1025    72     0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
38  0   1025    72     0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
39  0   1025    72     5   1   82  16  25   0   0   0   0   0   0   0   1   0   0
40  0   1025    72     0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
41  ^C
42
43The values from "re" to "fpf" are per second values.
44
45