File: statgrab.1

package info (click to toggle)
libstatgrab 0.92.1-1.2
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,252 kB
  • sloc: ansic: 12,623; sh: 4,364; perl: 467; makefile: 282
file content (84 lines) | stat: -rw-r--r-- 2,083 bytes parent folder | download | duplicates (3)
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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
'\" -*- coding: us-ascii -*-
.if \n(.g .ds T< \\FC
.if \n(.g .ds T> \\F[\n[.fam]]
.de URL
\\$2 \(la\\$1\(ra\\$3
..
.if \n(.g .mso www.tmac
.TH statgrab 1 2019-03-08 libstatgrab ""
.SH NAME
statgrab \- sysctl-style interface to system statistics
.SH SYNOPSIS
'nh
.fi
.ad l
\fBstatgrab\fR \kx
.if (\nx>(\n(.l/2)) .nr x (\n(.l/5)
'in \n(.iu+\nxu
[OPTION]\&... [STAT]\&...
'in \n(.iu-\nxu
.ad b
'hy
.SH DESCRIPTION
\fBstatgrab\fR provides a sysctl-style interface to all
the system statistics available through libstatgrab. This is useful
for applications that don't want to make library calls, but still
want to access the statistics.
.PP
An example of such an application is mrtg, for which scripts are
provided to generate configuration files.
.SH OPTIONS
The following options are supported.
.TP 
\*(T<\fB\-l\fR\*(T>
Linux sysctl-style output (default)
.TP 
\*(T<\fB\-b\fR\*(T>
BSD sysctl-style output
.TP 
\*(T<\fB\-m\fR\*(T>
MRTG-compatible output
.TP 
\*(T<\fB\-u\fR\*(T>
Plain output (only show values)
.TP 
\*(T<\fB\-n\fR\*(T>
Display cumulative stats once (default)
.TP 
\*(T<\fB\-s\fR\*(T>
Display stat differences repeatedly
.TP 
\*(T<\fB\-o\fR\*(T>
Display stat differences once
.TP 
\*(T<\fB\-t\fR\*(T> \fIDELAY\fR
When repeating, wait DELAY seconds between updates (default 1)
.TP 
\*(T<\fB\-p\fR\*(T>
Display CPU usage differences as percentages rather than
absolute values
.TP 
\*(T<\fB\-f\fR\*(T> \fIFACTOR\fR
Display floating-point values as integers scaled by FACTOR
.TP 
\*(T<\fB\-K\fR\*(T>
Display byte counts in kibibytes
.TP 
\*(T<\fB\-M\fR\*(T>
Display byte counts in mebibytes
.TP 
\*(T<\fB\-G\fR\*(T>
Display byte counts in gibibytes
.PP
If no \*(T<\fBSTAT\fR\*(T> options are given, all will be displayed.
Specify 'STAT.' to display all statistics starting with that prefix.
.SH "SEE ALSO"
\fBstatgrab-make-mrtg-config\fR(1)
\fBstatgrab-make-mrtg-index\fR(1)
\fBsaidar\fR(1)
\fBstatgrab\fR(3)
.SH AUTHORS
This man page was derived from the man page written by Bartosz
Fenski for the Debian GNU/Linux distribution.
.SH WEBSITE
\(lahttps://libstatgrab.org/\(ra