Hi,

after trying sigar i noticed that there IS a node native module os that can give me the information i need. i tried it on linux and everything works fine, on windows 7 x64 os.cpus() just gives me:

[ { model: 'Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz',
    speed: 3292,
    times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } },
  { model: 'Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz',
    speed: 3292,
    times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } },
  { model: 'Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz',
    speed: 3292,
    times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } },
  { model: 'Intel(R) Core(TM) i5-2500 CPU @ 3.30GHz',
    speed: 3292,
    times: { user: 0, nice: 0, sys: 0, idle: 0, irq: 0 } } ]

on linux i get

[ { model: 'QEMU Virtual CPU version 0.12.3',
    speed: 3074,
    times:
     { user: 2600340,
       nice: 23300,
       sys: 567320,
       idle: 1828201650,
       irq: 87780 } } ]

sadly all timings on the windows machine are 0, does anyone know if this issue will be solved in near future ?


- Dominik

--
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to