RAA - sys-cpu/0.5.0

sys-cpu / 0.5.0

Short description: Interface for cpu information
Category: Library/OS
Status: Usable
Created: 2003-02-04 17:23:59 GMT
Last update: 2004-06-28 14:47:06 GMT
Owner: Daniel J. Berger (Projects of this owner)
Homepage: http://ruby-sysutils.sourceforge.net
Download: http://prdownloads.sourceforge.net/ruby-sysutils/sys-cpu-0.5.0.tar.gz?download
License: Ruby's
Dependency:
None
Description:

Sys-CPU is an extension that provides various bits of information regarding your system's cpu(s).

Changes:
========
- Now requires Ruby 1.8.0 or later.
- FreeBSD support added.
- Replaced 'CPUException' with 'CPUError'
- The MS Windows version has been completely revamped to use WMI instead of
the C API. Some method names have changed and some methods have been
dropped entirely. Please see the documentation for details.
- Corresponding documentation updates and test suite changes.
- Sample programs have been moved to doc/examples.
- Installation procedure somewhat revamped.
- No longer autogenerates test file.
- The .html files have been removed. You can generate the html on your own
if you like.

Synopsis:
=========
require "sys/cpu"
include Sys

puts CPU.load_avg.join(",")
puts CPU.model
puts CPU.freq

# more fields, depending on platform

Versions: [0.6.1 (2009-01-04)] [0.6.0 (2007-04-26)] [0.5.5 (2006-11-18)] [0.5.4 (2006-07-12)] [0.5.3 (2006-05-04)] [0.5.2 (2005-06-25)] [0.5.1 (2005-05-05)] [0.5.0 (2004-06-28)] [0.4.0 (2003-09-19)]

Edit this project (for project owner)

back to RAA top