statgrab-make-mrtg-config
sysctl-style access to system statistics
Install
- All systems
-
curl cmd.cat/statgrab-make-mrtg-config.sh
- Debian
-
apt-get install statgrab
- Ubuntu
-
apt-get install statgrab
- Arch Linux
-
pacman -S libstatgrab
- 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
- Dockerfile
- dockerfile.run/statgrab-make-mrtg-config
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.