sigar/README

68 lines
1.4 KiB
Plaintext
Raw Normal View History

2004-06-22 06:37:04 +08:00
sigar - System Info Gather And Reporter
2006-03-06 01:57:18 +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
2006-03-06 01:57:18 +08:00
- Linux [x86] (2.2, 2.4, 2.6 kernels)
2004-06-22 06:37:04 +08:00
2006-03-06 01:57:18 +08:00
- Linux [amd64] (2.6 kernel)
2004-06-22 06:37:04 +08:00
2006-07-12 01:45:18 +08:00
- Linux [ppc64] (2.6 kernel)
2006-03-06 01:57:18 +08:00
- Win32 [x86] (NT 4.0 sp6, 2000 Pro/Server, 2003 Server, XP)
2004-06-22 06:37:04 +08:00
2006-03-06 01:57:18 +08:00
- Solaris [sparc] (2.6, 7, 8, 9, 10)
2004-06-22 06:37:04 +08:00
2006-03-06 01:57:18 +08:00
- Solaris [x86] (8, 9, 10)
2004-06-22 06:37:04 +08:00
2006-03-06 01:57:18 +08:00
- HP/UX [PA-RISC] (11)
2004-06-22 06:37:04 +08:00
2006-03-06 01:57:18 +08:00
- AIX [PowerPC] (4.3, 5.1, 5.2, 5.3)
2005-02-19 08:31:47 +08:00
2006-03-06 01:57:18 +08:00
- FreeBSD [x86] (4.x, 5.x, 6.x)
- Mac OS X [PowerPC] (10.4)
2005-06-27 05:46:48 +08:00
2006-04-08 00:55:54 +08:00
- Mac OS X [x86] (10.4)
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.
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
2006-06-06 04:06:55 +08:00
Mailing lists:
2006-06-07 12:20:53 +08:00
mailto:sigar-users-subscribe@hyperic.org
mailto:sigar-dev-subscribe@hyperic.org
2004-07-24 03:34:18 +08:00
2006-06-06 04:06:55 +08:00
Forums:
http://forums.hyperic.org/
2004-07-24 03:34:18 +08:00
2006-06-06 04:06:55 +08:00
Bugs:
http://jira.hyperic.com/browse/SIGAR