/[cricket]/create_vmstat_Default.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /create_vmstat_Default.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by dpavlin, Tue Oct 28 16:00:35 2003 UTC revision 1.4 by dpavlin, Mon Nov 3 10:29:05 2003 UTC
# Line 77  my $ds_type = { Line 77  my $ds_type = {
77          'so' => 'ABSOLUTE',          'so' => 'ABSOLUTE',
78          'bi' => 'ABSOLUTE',          'bi' => 'ABSOLUTE',
79          'bo' => 'ABSOLUTE',          'bo' => 'ABSOLUTE',
80            # vmstat -s
81            'nnct' => 'COUNTER',
82            'nct' => 'COUNTER',
83            'sct' => 'COUNTER',
84            'ict' => 'COUNTER',
85            'ioct' => 'COUNTER',
86            'ppi' => 'COUNTER',
87            'ppo' => 'COUNTER',
88            'psi' => 'COUNTER',
89            'pso' => 'COUNTER',
90            'int' => 'COUNTER',
91            'ccs' => 'COUNTER',
92            'bt' => 'COUNTER',
93            'fork' => 'COUNTER',
94  };  };
95    
96  my $definition = qq(  my $definition = qq(
# Line 93  my $definition = qq( Line 107  my $definition = qq(
107  #       active: the amount of active memory. (-a option)  #       active: the amount of active memory. (-a option)
108    
109     Swap     Swap
110         si: Amount of memory swapped in from disk (/s).         si: Amount of memory swapped in from disk [amount/s].
111         so: Amount of memory swapped to disk (/s).         so: Amount of memory swapped to disk [amount/s].
112    
113     IO     IO
114         bi: Blocks received from a block device (blocks/s).         bi: Blocks received from a block device [blocks/s].
115         bo: Blocks sent to a block device (blocks/s).         bo: Blocks sent to a block device [blocks/s].
116    
117     System     System
118         in: The number of interrupts per second, including the clock.         in: The number of interrupts per second, including the clock.
# Line 121  am: [kB] active memory Line 135  am: [kB] active memory
135  im: [kB] inactive memory  im: [kB] inactive memory
136  fm: [kB] free memory  fm: [kB] free memory
137  bm: [kB] buffer memory  bm: [kB] buffer memory
138    Swap
139  sc: [kB] swap cache  sc: [kB] swap cache
140  ts: [kB] total swap  ts: [kB] total swap
141  us: [kB] used swap  us: [kB] used swap
# Line 136  ppi: pages paged in            [pages] Line 151  ppi: pages paged in            [pages]
151  ppo: pages paged out            [pages]  ppo: pages paged out            [pages]
152  psi: pages swapped in   [pages]  psi: pages swapped in   [pages]
153  pso: pages swapped out  [pages]  pso: pages swapped out  [pages]
154  Other  Interrupts
155  int: interrupts  int: interrupts
156    Context_switches
157  ccs: CPU context switches  ccs: CPU context switches
158    Boot_time
159  bt: boot time  bt: boot time
160    Forks
161  fork: forks  fork: forks
162  ) if ($is_s);  ) if ($is_s);
163    

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.4

  ViewVC Help
Powered by ViewVC 1.1.26