--- web/www/libstatgrab/index.xhtml 2005/03/03 10:09:34 1.36 +++ web/www/libstatgrab/index.xhtml 2012/02/14 11:46:47 1.53 @@ -16,10 +16,10 @@
+

+ What is libstatgrab? +

+

+ libstatgrab is a library that provides cross platform + access to statistics about the system on which it's run. + 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 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. +

+

News

@@ -50,6 +81,118 @@ freshmeat?

+ Sunday 21 February 2010 +

+

+ Version 0.17 of libstatgrab has been released.
+ Download it from one of our mirrors. +

+

+ This release adds support for FreeBSD 9 and other systems + using utmpx. Also on FreeBSD it fixes an issue with large + quantities of memory and adds support for dynamically + getting a list of supported file systems. On Solaris ZFS + file systems will now be detected. And finally on Linux CPU + iowait information will be given where available. +

+

+ Friday 30 May 2008 +

+

+ Dag Odenhall got in touch today to let us know he's written + Ruby bindings + for libstatgrab. Thanks Dag! +

+

+ Monday 17 March 2008 +

+

+ Version 0.16 of libstatgrab has been released.
+ Download it from one of our mirrors. +

+

+ This release fixes some minor build problems on Solaris + with Sun's compiler, and on the Debian "armel" port. Also + a minor fix to statgrab-make-mrtg-config on machines with + no swap, and added support for FreeBSD 8. +

+

+ Saturday 14 July 2007 +

+

+ Version 0.15 of libstatgrab has been released.
+ Download it from one of our mirrors. +

+

+ This release fixes a regression introduced on OpenBSD in + the last release - memory statistics were reported + incorrectly. Some other minor changes have been made, see + the NEWS file for more information. +

+

+ Monday 8 January 2007 +

+

+ Version 0.14 of libstatgrab has been released.
+ Download it from one of our mirrors. +

+

+ This release contains mainly bugfixes - see the NEWS file + in the distribution for a full list. It also brings a new + feature in saidar: colour support, which can be activated + with the -c runtime flag. +

+

+ Monday 20 March 2006 +

+

+ Version 0.13 of libstatgrab has been released.
+ Download it from one of our mirrors. +

+

+ This release mainly includes a bunch of bug fixes, but + also brings preliminary support for WIN32. We've also + added a few lines to the header file to make C++ linking + easier. Please see the NEWS file in the distribution for + full details. +

+

+ Sunday 31 July 2005 +

+

+ Version 0.12 of libstatgrab has been released.
+ Download it from one of our mirrors. +

+

+ This release has some new features, bug fixes, and a minor + API change. More details have been added to the file + system statistics, linux partition detection has been + reworked, and compile errors on Linux 2.6 have been fixed. + Support has been added for Solaris 10 and FreeBSD 7. + There are also manual pages for all the tools. +

+

+ The duplex value in the network interface statistics has + changed name from "dup" to "duplex" - this breaks the API. + We plan to stabilise the API for a 1.0 release. As before, + the old name is available if SG_ENABLE_DEPRECATED is + defined. +

+

+ Tuesday 26 April 2005 +

+

+ Official libstatgrab packages for Debian now + available. +

+

+ Thanks to the work of + Bartosz Fenski + libstatgrab is now available on debian. This replaces our + unofficial debian packages which will no longer be + updated. +

+

Thursday 3 March 2005

@@ -150,40 +293,10 @@

pystatgrab, a new package containing a set of Python - bindings, has been released. Check out it's + bindings, has been released. Check out its project page.

- What is libstatgrab? -

-

- libstatgrab is a library that provides cross platform - access to statistics about the system on which it's run. - 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 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. -

-

Downloading

@@ -204,17 +317,20 @@ Python

  • - PHP (external) + PHP
  • - Perl (external) + Perl
  • +
  • + Ruby +
  • Here are links to bindings for higher level languages that provide access to libstatgrab. If you've written a binding for another language, please get - in touch so we + in touch so we can add a link here.

    @@ -225,17 +341,29 @@ FreeBSD
  • - Gentoo Linux + Gentoo Linux
  • Solaris (Blastwave)
  • - Debian (unofficial) + Solaris (SunFreeware)
  • + Solaris (OpenCSW) +
  • +
  • + Debian +
  • +
  • NetBSD
  • +
  • + RPMs for various Linux distributions +
  • +
  • + OpenBSD +
  • These are various pre-packaged versions of libstatgrab @@ -246,13 +374,6 @@ We've noticed that google throws up some RPM's relating to Mandrake and Suse, but no webpage for them.

    -

    - Several attempts were made to submit a port to the - OpenBSD folk, but they didn't seem interested in taking - it. You can find it - - here. -

    Development

    @@ -272,50 +393,67 @@

    The only online documentation we have at the moment is the - manual pages converted in to HTML format. It's probably - best to start with the overview manual page: + manual pages converted in to HTML format. First are the + manual pages for the command line tools:

    + We also have an overview page for the library: +

    + +

    Then we have the manual pages for each function: