statgrab-make-mrtg-index

sysctl-style access to system statistics

Install

All systems
curl cmd.cat/statgrab-make-mrtg-index.sh
Debian Debian
apt-get install statgrab
Ubuntu
apt-get install statgrab
Arch Arch Linux
pacman -S libstatgrab
image/svg+xml Kali Linux
apt-get install statgrab
Fedora
dnf install statgrab-1
Windows (WSL2)
sudo apt-get update sudo apt-get install statgrab
OS X
brew install libstatgrab
Raspbian
apt-get install statgrab

statgrab

sysctl-style access to system statistics

statgrab provides an access to system statistics using a sysctl-style interface. This is useful for applications that don't want to make library calls, but still want to access the statistics. An example is mrtg, for which scripts are provided to generate configuration files. statgrab utilizes libstatgrab library.

statgrab-1

libstatgrab

libstatgrab

Libstatgrab is a library that provides cross platform access to

statistics about the system on which it's running. It's written in C and presents a selection of useful interfaces which can be used to access key system statistics. The current list of statistics includes CPU usage, memory utilisation, disk usage, process counts, network traffic, disk I/O, and more. The current list of supported and tested platforms includes FreeBSD, Linux, NetBSD, OpenBSD, Solaris, DragonFly BSD, HP-UX and AIX.