[users at i-scream] Testable libstatgrab update

Jens Rehsack rehsack at googlemail.com
Fri Aug 5 17:07:58 BST 2011


today I finished the last fixes and tests for the libstatgrab-0.18 as I imagine.
It covers:
- thread safety
- Full support of following operating systems (read: tested)
  * Linux 2.6+ kernels
  * Solaris 8+
  * AIX 5+
  * HP-UX 11.11+
  * FreeBSD 7+
  * NetBSD 5+ (4 is just untested, but may work)
  * OpenBSD 4.9
  * DragonFlyBSD 2.10
- enhanced statistics:
  * CPU statistics
  * Filesystem statistics
  * Host statistics
  * User/Login statistics
- tracing via log4cplus (trunk version)
- relies more on detected features than on OS-signatures

It has been tested on:
- Linux
  * Ubuntu 10.04 (32-bit & 64-bit)
  * SLES 9-11 (32-bit & 64-bit)
  * Solaris/sparc64 8-10 using gcc 3.4.6 (32-bit compile)
  * Solaris/i686 10 using gcc-3.4.6 (32-bit compile)
  * Solaris/sparc64 10 using SunPro 12.1 (64-bit compile)
  * HP-UX/hppa 11.11 & 11.23 using gcc-3.4.6 (32-bit compile)
  * HP-UX/ia64 11.23 & 11.31 using gcc-4.5.2 (32-bit compile)
  * AIX 5.2, 5.3 & 6.1 using gcc-4.5.2 (32-bit compile)
  * FreeBSD/amd64 7-STABLE, 8.2-RELEASE (64-bit compile)
  * NetBSD/amd64 5-CURRENT (64-bit compile)
  * OpenBSD/amd64 4.9-RELEASE (64-bit compile)
  * DragonflyBSD/amd64 2.10-RELEASE (64-bit compile)
  * MacOS 10.6 using latest Xcode 3 (32-bit compile): some stats unsupported

You can download the snapshot from http://www.netbsd.org/~sno/smart-snmpd/
until there is a new repository on i-scream or someome merges the changes into
the current cvs repository.

Testers and patches for errors are very welcome.

There're two kinds of tests which can be run:
1) execute the examples (or statgrab) and compare the displayed
results against other system tools output (eg.
examples/filesystem_snapshot against df)
2) run "make test" (or the tests/single_threaded/single_threaded_test
and the tests/multi_threaded/multi_threaded_test manually) to see if
all stats-calls return without error (no automatic content tests are
currently made).

Merijn, if you can test it on HP-UX and AIX using the native
compilers, it would be great.
Probably you can get the ANSI C++ compiler from the Alliance One
download site. I'm
not allowed to register for it, because only commercial development is
allowed to register
for the compilers

Best regards,

More information about the users mailing list