Don't ask to ask, just ask | |
PerlMonks |
Re: Calculating percent cpu in linux?by eXile (Priest) |
on May 03, 2005 at 01:57 UTC ( [id://453466]=note: print w/replies, xml ) | Need Help?? |
If you really don't want to use ps, I'd look for the definite answer in the source code of a ps/top version that reads from /proc :
http://procps.sourceforge.net/
Please post if you found the answer, because I'm kind of curious too.
In Section
Seekers of Perl Wisdom
|
|