libstatgrab is a library that provides cross platform access to statistics about the system on which it's run. libstatgrab library 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 platforms is Solaris 2.x, Linux 2.2/2.4/2.6, FreeBSD 4.x/5.x, NetBSD 1.6.x, OpenBSD 3.x, DragonFly BSD 1.0, HP-UX, and Cygwin. The aim is to extend this to include as many operating systems as possible.
The package also includes a couple of useful tools. The first, saidar, provides a curses-based interface to viewing the current state of the system. The second, statgrab, gives a sysctl-style interface to the statistics gathered by libstatgrab. This extends the use of libstatgrab to people writing scripts or anything else that can't easily make C function calls. Included with statgrab is a script to generate an MRTG configuration file to use statgrab.
Product's homepage
What's New in This Release: [ read full changelog ]
· This version adds support for FreeBSD 9 and other systems using utmpx.
· On FreeBSD an issue with large quantities of memory was fixed, and support for dynamically getting a list of supported file systems was added.
· File systems will now be detected on Solaris ZFS.
· On Linux, CPU iowait information will now be given where available.