SysUtils - Ruby System Utility Libraries

SysUtils - Ruby System Utility Libraries

net-proto
sys-admin
Unix
MS Windows
sys-cpu
BSD/OS X
HP-UX
Linux
MS Window
Solaris
sys-host
sys-filesystem
sys-proctable
sys-uname
sys-uptime
Author: Daniel J. Berger
Here you will find documentation for the libraries of the sysutils project. These libraries are designed to gather various bits of data about your system, ranging from process table information to CPU load average statistics.

Click on the library name on the left to go to the documentation for that library. In some cases the documentation is generic. In others it's platform specific.

Below is a quick synopsis of each library.

net-proto

The net-proto package provides a way to get protocol information. This is really just a wrapper for the getprotobyname(), getprotobynumber() and the getprotoent() functions.

Works on all major platforms, including MS Windows (mostly).

sys-admin

The sys-admin package is a unified, cross platform replacement for the Etc module that comes with Ruby's standard library.

Works on all major platforms. The version for MS Windows includes the ability to add, configure or delete local and global users and groups.

sys-cpu

The sys-cpu library provides an interface for gathering information about your system's CPU. This includes not only technical data such as processor type, but also CPU statistics, such as load average information.

Works on Linux, Solaris, MS Windows, FreeBSD, OS X, and HP-UX.

sys-host

The sys-host library provides hostname and IP address information, along with additional information about your host (on some platforms).

Works on most major platforms, including MS Windows.

sys-filesystem

The sys-filesystem library provides an interface for gathering filesystem information, including such information as disk space.

Works on most major platforms, including MS Windows.

sys-proctable

The sys-proctable library provides an interface for gathering process table information.

Works on Linux, Solaris, MS Windows, HP-UX, OS X and FreeBSD. The amount and type of information it returns depends on your platform.

sys-uname

The sys-uname library provides an interface for gathering data about your operating system (such as that returned by the 'uname' Unix command line program - hence the name).

Works on all major platforms, including MS Windows.

sys-uptime

The sys-uptime library provides an interface for providing uptime and boot time information.

Works on all major platforms, including MS Windows.