Fork of hyperic/sigar with some fixes. Support only ruby binding. Part of Eye gem.
Go to file
Doug MacEachern dcdc74d06a use IS_FQDN stead of strchr 2004-07-16 19:10:08 +00:00
bindings log Sigar.load errors 2004-07-16 17:39:51 +00:00
examples Initial revision 2004-06-21 22:37:04 +00:00
exp some cpu models for reference 2004-07-02 02:08:55 +00:00
include missed api _list convention, cpu_infos -> cpu_info_list 2004-07-10 04:44:45 +00:00
src use IS_FQDN stead of strchr 2004-07-16 19:10:08 +00:00
tools/PerfBrowser Initial revision 2004-06-21 22:37:04 +00:00
README Initial revision 2004-06-21 22:37:04 +00:00

README

sigar - System Info Gather And Reporter

goal of this api is provide a portable interface for gathering system
information such as:

- system memory (total, used, etc.)

- system cpu (total, sys, idle, etc.)

- system swap (total, free, etc.)

- process memory usage (size, vsize, etc.)

- process cpu usage (user, sys, etc.)

- process credentials (uid, gid, ppid, etc.)

- process times (start time, user cpu, system cpu, etc.)

- process state (name, state, etc.)

- process list (list of active process pids)

- process arguments

- process environment

- filesystem list (list of mounted filesystems: fs type, fs name, etc.)

- filesystem usage (total blocks, blocks free, files, etc.)

- load average

- uptime

- netload (packets in, packets out, bytes in, bytes out, etc.)

the api used by applications will be the same for all platforms,
underneath the platform vendor api(s) are used to fill in the portable
sigar structures:

- linux   => /proc filesystem, native system calls

- solaris => kstat api + /proc filesystem

- hpux    => pstat api

- win32   => registry performance "api", sdk calls

- aix     => /dev/kmem, native system calls