Does anyone know of a reasonably system independent way of getting CPU usage information in Perl? I looked at GTop, but had some issues compiling libgtop (I am on Mac OS X). Before I start trying to tackle these issues though, I thought I should ask the monastary for suggestions. Basically I am looking for a minimum of CPU load percentage, but the more info the better. I would even be open to UNIX shell commands (preferably simpler than top)whose output I can parse as it is unlikely this will ever need to run on Windows (at least for now of course).
-stvnIn reply to Finding out Processor Usage by stvn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |