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