aboutsummaryrefslogtreecommitdiff
path: root/cddl/contrib/dtracetoolkit/Examples/xvmstat_example.txt
blob: 544bd985e8bd0e90b8eeb63423ea9ecceb8a40b5 (plain) (blame)
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
The following is a demonstration of the xvmstat program.


Here we run it with no arguments. It will default to 1 second samples, and
will run forever,

  # xvmstat
  w   swap  free   re maj   mf cow pro  sr epi epo epf api apo apf fpi fpo fpf
  0   1025    73    2   0   21   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   1   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    73  199  42  166  21  41   0   0   0   0   0   0   0  42   0   0
  0   1025    73    0   0    0   0   2   0   0   0   0   0   0   0   0   0   0
  0   1025    73 4404  47  175  26  30   0   0   0   0   0   0   0  48   0   0
  0   1025    73  433   0    0   0  14   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    73    0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  ^C

Both "swap" and "free" are in units of megabytes, the rest are in units of
pages. "maj" is major faults - a useful addition to the output.

There is no summary since boot line, as this program in not using the
Kstat data.



The following runs xvmstat with a 5 second interval,

  # xvmstat 5
  w   swap  free    re maj   mf cow pro  sr epi epo epf api apo apf fpi fpo fpf
  0   1025    72  1531   2   40   5   9   0   0   0   0   0   0   0   2   0   0
  0   1025    72  1534   0   36   5   9   0   0   0   0   0   0   0   0   0   0
  0   1025    72     0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    72     0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  0   1025    72     5   1   82  16  25   0   0   0   0   0   0   0   1   0   0
  0   1025    72     0   0    0   0   0   0   0   0   0   0   0   0   0   0   0
  ^C

The values from "re" to "fpf" are per second values.