[Nottingham] Process CPU and memory usage?

Martin martin at ml1.co.uk
Tue Sep 23 08:54:59 UTC 2008


Michael Erskine wrote:
> 2008/9/22 Martin <martin at ml1.co.uk>:
>> So how do you get 'realtime' process stats? (Of /currently/ running
>> processes.)
> 
> Look in /proc or get something else to do it for you: e.g. parse ps
> output (with ppid field) or use Proc::ProcessTable in Perl.

Mmmm... Spin-your-own look in /proc it seems to be... I guess I'll just
have to tidy up the search rather than looking through /all/ of "/proc"!


[---]
>> Any other ideas?
> 
> Forget about it - sounds like a non-feature to me! :)

Sounds more like an ill defined itch...

Mmmm...

Re: [PATCH] getrusage sucks
http://mail.nl.linux.org/kernelnewbies/2005-11/msg00126.html


Cheers,
Martin

-- 
----------------
Martin Lomas
martin at ml1.co.uk
----------------



More information about the Nottingham mailing list