R
rubynet-announce-request
Send rubynet-announce mailing list submissions to
(e-mail address removed)
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.rubynet.org/lists/listinfo/rubynet-announce
or, via email, send a message with subject or body 'help' to
(e-mail address removed)
You can reach the person managing the list at
(e-mail address removed)
When replying, please edit your Subject line so it is more specific
than "Re: Contents of rubynet-announce digest..."
Today's Topics:
1. [ANN] sys-cpu 0.3.0 (Daniel Berger)
----------------------------------------------------------------------
Message: 1
Date: Tue, 01 Jul 2003 16:22:09 -0600
From: Daniel Berger <[email protected]>
Subject: [ruby-announce] [ANN] sys-cpu 0.3.0
To: rubynet-announce <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi all,
I'm happy to announce the release of sys-cpu. Now with HP-UX support!
sys-cpu is an interface for determining information about the cpu(s) on
a system.
Synopsis
========
require "sys/cpu"
include Sys
# HP-UX
puts "Mhz: " + CPU.cpu_freq.to_s
puts "Number of cpu's on this system: " + CPU.num_cpu.to_s
puts "Number of active cpu's: " + CPU.num_active_cpu.to_s
puts "Load averages: " + CPU.load_avg.join(", ")
Enjoy!
Dan
------------------------------
_______________________________________________
rubynet-announce mailing list
(e-mail address removed)
http://lists.rubynet.org/lists/listinfo/rubynet-announce
End of rubynet-announce Digest, Vol 5, Issue 1
**********************************************
(e-mail address removed)
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.rubynet.org/lists/listinfo/rubynet-announce
or, via email, send a message with subject or body 'help' to
(e-mail address removed)
You can reach the person managing the list at
(e-mail address removed)
When replying, please edit your Subject line so it is more specific
than "Re: Contents of rubynet-announce digest..."
Today's Topics:
1. [ANN] sys-cpu 0.3.0 (Daniel Berger)
----------------------------------------------------------------------
Message: 1
Date: Tue, 01 Jul 2003 16:22:09 -0600
From: Daniel Berger <[email protected]>
Subject: [ruby-announce] [ANN] sys-cpu 0.3.0
To: rubynet-announce <[email protected]>
Message-ID: <[email protected]>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi all,
I'm happy to announce the release of sys-cpu. Now with HP-UX support!
sys-cpu is an interface for determining information about the cpu(s) on
a system.
Synopsis
========
require "sys/cpu"
include Sys
# HP-UX
puts "Mhz: " + CPU.cpu_freq.to_s
puts "Number of cpu's on this system: " + CPU.num_cpu.to_s
puts "Number of active cpu's: " + CPU.num_active_cpu.to_s
puts "Load averages: " + CPU.load_avg.join(", ")
Enjoy!
Dan
------------------------------
_______________________________________________
rubynet-announce mailing list
(e-mail address removed)
http://lists.rubynet.org/lists/listinfo/rubynet-announce
End of rubynet-announce Digest, Vol 5, Issue 1
**********************************************