Menu

ruby-sysutils released

Announcing ruby-sysutils

This sourceforge project aims to provide Ruby extensions for various system utilities.

The following four modules are currently available:

Sys-ProcTable

An interface to the ps command (i.e. the /proc filesystem). With this module you can look for information about a specific process, look for groups of processes by name, or iterate over every process that is currently running. Information includes pid, ppid, etc. The exact fields available depend on your platform.

Sys-Uptime

An interface to the uptime command. There are methods to return seconds, minutes, hours, days, or everything at once. Note that the time, users, and cpu load information are not included.

Sys-Host

Provides both hostname and (all) ip address information for the current host.

Sys-Uname

An interface to the uname command. Methods are provided that return the system name, nodename, machine, os version, and os release. Additionally, Solaris users also have methods that return the architecture and platform.

Currently Linux, Solaris and FreeBSD are supported for each of these module

Posted by Daniel Berger 2002-09-13

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.