[ANN] solaris-kstat 0.2.0

D

Daniel Berger

Hi all,

I'm happy to announce the release of solaris-kstat 0.2.0. This is a
simple wrapper for the kstat library. This release allows you to pass
values to the constructor in order to narrow your results. You can now
also get results for nfs/mntinfo as well.

# Quick synopsis
require "solaris/kstat"
require "pp"
include Solaris

k = Kstat.new("cpu_info",0,"cpu_info0")
pp k

{"cpu_info"=>
{0=>
{"cpu_info0"=>
{"chip_id"=>0,
"fpu_type"=>"sparcv9",
"device_ID"=>0,
"cpu_type"=>"sparcv9",
"implementation"=>"Unknown",
"clock_MHz"=>502,
"state_begin"=>1105974702,
"state"=>"on-line"}}}}

Available on the RAA. Enjoy!

Dan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

[ANN] win32-pipe 0.2.0 0
[ANN] win32-taskscheduler 0.2.0 0
[ANN] win32-mmap 0.2.0 4
[ANN] RubyOSA 0.2.0 1
[ANN] open4-0.2.0 0
[ANN] win32-etc 0.2.0 0
[ANN] win32-open3 0.2.0 0
[ANN] win32-process 0.2.0 0

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top