1statgrab(1) statgrab(1)
2
3
4
6 statgrab - sysctl-style interface to system statistics
7
9 statgrab [OPTION]... [STAT]...
10
12 statgrab provides a sysctl-style interface to all the system statistics
13 available through libstatgrab. This is useful for applications that
14 don't want to make library calls, but still want to access the statis‐
15 tics.
16
17 An example of such an application is mrtg, for which scripts are pro‐
18 vided to generate configuration files.
19
21 The following options are supported.
22
23 -l Linux sysctl-style output (default)
24
25 -b BSD sysctl-style output
26
27 -m MRTG-compatible output
28
29 -u Plain output (only show values)
30
31 -n Display cumulative stats once (default)
32
33 -s Display stat differences repeatedly
34
35 -o Display stat differences once
36
37 -t DELAY
38 When repeating, wait DELAY seconds between updates (default 1)
39
40 -p Display CPU usage differences as percentages rather than abso‐
41 lute values
42
43 -f FACTOR
44 Display floating-point values as integers scaled by FACTOR
45
46 -K Display byte counts in kibibytes
47
48 -M Display byte counts in mebibytes
49
50 -G Display byte counts in gibibytes
51
52 If no STAT options are given, all will be displayed. Specify 'STAT.'
53 to display all statistics starting with that prefix.
54
56 statgrab-make-mrtg-config(1) statgrab-make-mrtg-index(1) saidar(1)
57 statgrab(3)
58
60 This man page was derived from the man page written by Bartosz Fenski
61 for the Debian GNU/Linux distribution.
62
64 ⟨http://www.i-scream.org/libstatgrab/⟩
65
66
67
68i-scream 2013-06-07 statgrab(1)