hardware detection

Discussion in 'Ruby' started by Paul Fox, Apr 14, 2008.

  1. Paul Fox

    Paul Fox Guest

    hi all,
    does the stock ruby (1.8) library have any classes that i can use to
    detect the current systems' cpu type, and number of cpu's etc?
    i'm hoping for something portable across linux, mac, bsd etc, but cant
    find much.

    thanks.
    --
    Posted via http://www.ruby-forum.com/.
    Paul Fox, Apr 14, 2008
    #1
    1. Advertising

  2. On Apr 14, 3:12=A0pm, Paul Fox <> wrote:
    > hi all,
    > does the stock ruby (1.8) library have any classes that i can use to
    > detect the current systems' cpu type, and number of cpu's etc?
    > i'm hoping for something portable across linux, mac, bsd etc, but cant
    > find much.


    Nothing stock, but there's sys-cpu.

    gem install sys-cpu

    Regards,

    Dan
    Daniel Berger, Apr 14, 2008
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. fred
    Replies:
    2
    Views:
    4,594
    Hermit Dave
    Jan 14, 2004
  2. Rajesh Bawa

    Re: Outsoursing Hardware verification

    Rajesh Bawa, Jul 5, 2003, in forum: VHDL
    Replies:
    2
    Views:
    1,164
    Prasanna
    Aug 5, 2003
  3. Amontec Team
    Replies:
    0
    Views:
    1,766
    Amontec Team
    Jul 11, 2003
  4. Replies:
    0
    Views:
    497
  5. Noozer
    Replies:
    2
    Views:
    4,211
    Andy Dingley
    Feb 24, 2005
Loading...

Share This Page