SYNOPSIS

statgrab \kx [OPTION]... [STAT]...

DESCRIPTION

statgrab 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.

An example of such an application is mrtg, for which scripts are provided to generate configuration files.

OPTIONS

The following options are supported.

\*(T<-l\*(T>

Linux sysctl-style output (default)

\*(T<-b\*(T>

BSD sysctl-style output

\*(T<-m\*(T>

MRTG-compatible output

\*(T<-u\*(T>

Plain output (only show values)

\*(T<-n\*(T>

Display cumulative stats once (default)

\*(T<-s\*(T>

Display stat differences repeatedly

\*(T<-o\*(T>

Display stat differences once

\*(T<-t\*(T> DELAY

When repeating, wait DELAY seconds between updates (default 1)

\*(T<-p\*(T>

Display CPU usage differences as percentages rather than absolute values

\*(T<-f\*(T> FACTOR

Display floating-point values as integers scaled by FACTOR

\*(T<-K\*(T>

Display byte counts in kibibytes

\*(T<-M\*(T>

Display byte counts in mebibytes

\*(T<-G\*(T>

Display byte counts in gibibytes

If no \*(T<STAT\*(T> options are given, all will be displayed. Specify 'STAT.' to display all statistics starting with that prefix.

RELATED TO statgrab…

AUTHORS

This man page was derived from the man page written by Bartosz Fenski for the Debian GNU/Linux distribution.

WEBSITE

\(lahttp://www.i-scream.org/libstatgrab/\(ra