statgrab(1)

statgrab1

Sysctl-style interface to system statistics

Usage

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

Overview

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.

FC-lF[0]

Linux sysctl-style output (default)

FC-bF[0]

BSD sysctl-style output

FC-mF[0]

MRTG-compatible output

FC-uF[0]

Plain output (only show values)

FC-nF[0]

Display cumulative stats once (default)

FC-sF[0]

Display stat differences repeatedly

FC-oF[0]

Display stat differences once

FC-tF[0] DELAY

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

FC-pF[0]

Display CPU usage differences as percentages rather than absolute values

FC-fF[0] FACTOR

Display floating-point values as integers scaled by FACTOR

FC-KF[0]

Display byte counts in kibibytes

FC-MF[0]

Display byte counts in mebibytes

FC-GF[0]

Display byte counts in gibibytes

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

Website

⟨https://libstatgrab.org/⟩

Releases

11 releases since Debian 4.0 (Etch); the text changed 4 times.

  1. 4.0–7
  2. 8–10
  3. 11
  4. 12–13
  5. Arch

-G until Debian 7 (Wheezy); -K until Debian 7 (Wheezy); -M until Debian 7 (Wheezy); -b until Debian 7 (Wheezy); -f until Debian 7 (Wheezy); -l until Debian 7 (Wheezy); -m until Debian 7 (Wheezy); -n until Debian 7 (Wheezy); -o until Debian 7 (Wheezy); -p until Debian 7 (Wheezy); -s until Debian 7 (Wheezy); -t until Debian 7 (Wheezy); -u until Debian 7 (Wheezy).

Authors

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

From libstatgrab 0.92.1-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.