[Nottingham] Process CPU and memory usage?

Peter Chang Peter.Chang at nottingham.ac.uk
Mon Sep 22 14:16:00 UTC 2008


On Mon, 22 Sep 2008, Camilo Mesias wrote:
[...]
> Have you considered doing something with top, maybe configuring it to
> run in batch mode at an interval of your choice? Top reads /proc, and
> it is fairly costly (but you may be able to mitigate by having a
> longer interval)

Isn't ps(1) a better option than top(1)? It has an option to take a parent 
PID too!

There may be built-in tools in one of the scripting languages (Perl, 
Python, etc) as well.

Peter


This message has been checked for viruses but the contents of an attachment
may still contain software viruses, which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.




More information about the Nottingham mailing list