Fork of hyperic/sigar with some fixes. Support only ruby binding. Part of Eye gem.
Go to file
Doug MacEachern f3b9a4a1c6 remove NetStat.sigar member, pass in to each stat() 2006-07-11 01:02:59 +00:00
bindings remove NetStat.sigar member, pass in to each stat() 2006-07-11 01:02:59 +00:00
exp remove old /proc test files 2006-06-06 04:29:41 +00:00
include add sigar_net_address_hash function 2006-07-10 20:42:16 +00:00
src [SIGAR-4] native version of the Java NetStat metrics 2006-07-10 21:32:22 +00:00
tools/PerfBrowser Initial revision 2004-06-21 22:37:04 +00:00
ChangeLog changes 2006-07-07 22:20:20 +00:00
LICENSE add the license 2004-09-21 16:44:36 +00:00
README change mail list urls 2006-06-07 04:20:53 +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 [x86] (2.2, 2.4, 2.6 kernels)

- Linux [amd64] (2.6 kernel)

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

- Solaris [sparc] (2.6, 7, 8, 9, 10)

- Solaris [x86] (8, 9, 10)

- HP/UX [PA-RISC] (11)

- AIX [PowerPC] (4.3, 5.1, 5.2, 5.3)

- FreeBSD [x86] (4.x, 5.x, 6.x)

- Mac OS X [PowerPC] (10.4)

- Mac OS X [x86] (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.

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

Mailing lists:
mailto:sigar-users-subscribe@hyperic.org
mailto:sigar-dev-subscribe@hyperic.org

Forums:
http://forums.hyperic.org/

Bugs:
http://jira.hyperic.com/browse/SIGAR