logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

statgrab - sysctl-style interface to system statistics

Authors

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

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  sta‐
       tistics.

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

Name

       statgrab - sysctl-style interface to system statistics

Options

       The following options are supported.

       -l     Linux sysctl-style output (default)

       -b     BSD sysctl-style output

       -m     MRTG-compatible output

       -u     Plain output (only show values)

       -n     Display cumulative stats once (default)

       -s     Display stat differences repeatedly

       -o     Display stat differences once

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

       -p     Display CPU usage differences as percentages rather than absolute values

       -fFACTOR
              Display floating-point values as integers scaled by FACTOR

       -K     Display byte counts in kibibytes

       -M     Display byte counts in mebibytes

       -G     Display byte counts in gibibytes

       If no STAT options are given, all will be displayed.  Specify 'STAT.' to display all statistics  starting
       with that prefix.

See Also

statgrab-make-mrtg-config(1) statgrab-make-mrtg-index(1) saidar(1) statgrab(3)

Synopsis

statgrab [OPTION]... [STAT]...

Website

       ⟨https://libstatgrab.org/⟩

libstatgrab                                        2019-03-08                                        statgrab(1)

See Also