statgrab(1)
π statgrab(1) β the bestie manual π
β¨ NAME β¨
statgrab β sysctl-style interface to system statistics. Thatβs the whole vibe, bestie: itβs your sysctl-style hookup to system stats, no cap.
πΈ SYNOPSIS πΈ
statgrab [OPTION]... [STAT]...
π¦ DESCRIPTION π¦
Okay so statgrab gives you a sysctl-style interface to all the system statistics available through libstatgrab. Itβs useful for applications that donβt want to make library calls but still want to access the statistics β main character energy, for sure.
An iconic example of such an application is mrtg, for which scripts are provided to generate configuration files. Obsessed.
π OPTIONS π
These are the supported options, and yes, the whole lineup is here:
-lβ Linux sysctl-style output (default). Itβs giving default behavior, periodt.-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, waitDELAYseconds between updates (default1).-pβ Display CPU usage differences as percentages rather than absolute values.-fFACTORβ Display floating-point values as integers scaled byFACTOR.-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. Lowkey handy, iykyk.
π₯ SEE ALSO π₯
Also peep these: statgrab-make-mrtg-config(1), statgrab-make-mrtg-index(1), saidar(1), and statgrab(3). Bestie cross-references, fr fr.
π AUTHORS π
This man page is derived from the man page that Bartosz Fenski wrote for the Debian GNU/Linux distribution. Credit where itβs due, bestie π.
π WEBSITE π
https://libstatgrab.org/ β go click around, itβs giving official site energy π¦.
byeee π β this page is from libstatgrab, dated 2019-03-08, and itβs the statgrab(1) manual. Slay π
π¦ where this page comes from
- alpine 3.24: libstatgrab-doc 0.92.1-r1 Β· LGPL-2.0-or-later
- arch rolling: libstatgrab 0.92.1-2 Β· LGPL AND GPL
- fedora 43: statgrab 1:0.92.1-14.fc43 Β· GPL-2.0-or-later
- fedora 44: statgrab 1:0.92.1-15.fc44 Β· GPL-2.0-or-later
- nixos 26.05: libstatgrab 0.92.1
- nixpkgs unstable: libstatgrab 0.92.1
- opensuse-leap 16.0: statgrab 0.92.1-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: statgrab 0.92.1-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: statgrab 0.92.1-bp160.1.14 Β· GPL-2.0-or-later
- opensuse-leap 16.0: statgrab 0.92.1-bp160.1.14 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms