Fork of hyperic/sigar with some fixes. Support only ruby binding. Part of Eye gem.
Go to file
Doug MacEachern 35d2d7f5f8 on linux certain interfaces such as VMware vmnic
are not returned by ioctl(SIOCGIFCONF).
check /proc/net/dev for any ioctl missed.
2005-11-18 01:15:54 +00:00
bindings backout debug turd 2005-11-17 02:51:50 +00:00
examples removing mem.{buffer,cached} fields. 2004-11-20 02:08:16 +00:00
exp dont bail in net_interface_config_get if address query fails (e.g. vmnic1) 2005-11-17 02:50:37 +00:00
include turn on dmalloc function checking 2005-11-10 01:23:15 +00:00
src on linux certain interfaces such as VMware vmnic 2005-11-18 01:15:54 +00:00
tools/PerfBrowser Initial revision 2004-06-21 22:37:04 +00:00
ChangeLog changes 2005-11-14 18:34:35 +00:00
LICENSE add the license 2004-09-21 16:44:36 +00:00
README list osx 2005-06-26 21:46:48 +00:00
license-info.txt licenseinfo 2004-10-05 00:38:51 +00:00

README

sigar - System Info Gather And Reporter

The Sigar api provides a portable interface for gathering system
information such as:

- system memory, swap, cpu, load average, uptime

- per-process memory, cpu, credential info, state, arguments, environment,
  open files

- file system detection and metrics

- network interface configuration info and metrics

The core API is implemented in pure C with bindings currently
implemented for Java, Perl and C#.

The following platforms are currently supported:

- Linux (2.2, 2.4, 2.6 kernels)

- Win32 (NT 4.0 sp6, 2000 Pro/Server, 2003 Server, XP)

- Solaris (2.6, 7, 8, 9, 10)

- Solaris x86 (8, 9, 10)

- HP/UX (11)

- AIX (4.3, 5.1, 5.2)

- FreeBSD (5.3)

- Mac OS X (10.4)

To test drive run the following command:

% java -jar sigar-bin/lib/sigar.jar
sigar> help

The shell and commands are implemented in Java, the source code is
located in examples/java.

Javadocs are located in docs/javadoc.

Note that this is a BETA release of Sigar.  Hyperic HQ uses Sigar in
production, however not all of the Sigar functionality is currently
used by HQ.

Perl and C# interfaces are still a work in progress.

To try the Perl examples:
% cd bindings/perl
% perl Makefile.PL && make
% perl -Mblib ../../examples/perl/ifconfig.pl

Support questions should be posted to the support forum:
http://www.hyperic.net/forums/index.jsp

or mailed to support@hyperic.net