sigar/README

60 lines
1.3 KiB
Plaintext
Raw Normal View History

2004-06-22 06:37:04 +08:00
sigar - System Info Gather And Reporter
2004-07-22 02:39:37 +08:00
The Sigar api provides a portable interface for gathering system
2004-06-22 06:37:04 +08:00
information such as:
2004-07-22 02:39:37 +08:00
- system memory, swap, cpu, load average, uptime
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
- per-process memory, cpu, credential info, state, arguments, environment,
open files
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
- file system detection and metrics
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
- network interface configuration info and metrics
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
The core API is implemented in pure C with bindings currently
implemented for Java, Perl and C#.
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
The following platforms are currently supported:
2004-06-22 06:37:04 +08:00
2004-10-06 05:14:03 +08:00
- Linux (2.2, 2.4, 2.6 kernels)
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
- Win32 (NT 4.0 sp6, 2000 Pro/Server, 2003 Server, XP)
2004-06-22 06:37:04 +08:00
- Solaris (2.6, 7, 8, 9, 10)
2004-06-22 06:37:04 +08:00
- Solaris x86 (8, 9, 10)
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
- HP/UX (11)
2004-06-22 06:37:04 +08:00
2004-07-22 02:42:37 +08:00
- AIX (4.3, 5.1, 5.2)
2004-06-22 06:37:04 +08:00
2005-02-19 08:31:47 +08:00
- FreeBSD (5.3)
2004-07-22 02:39:37 +08:00
To test drive run the following command:
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
% java -jar sigar-bin/lib/sigar.jar
2004-07-24 03:34:18 +08:00
sigar> help
2004-06-22 06:37:04 +08:00
2004-07-22 02:39:37 +08:00
The shell and commands are implemented in Java, the source code is
located in examples/java.
2004-06-22 06:37:04 +08:00
2004-07-24 03:34:18 +08:00
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.
2004-09-19 02:31:35 +08:00
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
2004-07-24 03:34:18 +08:00
Support questions should be posted to the support forum:
http://www.hyperic.net/forums/index.jsp
or mailed to support@hyperic.net