On Tue, 1 May 2001, Erik Mouw wrote:
> On Mon, Apr 30, 2001 at 11:42:19PM -0400, King Yeung Yick wrote:
> > Thanks Erik. Now I know how to use ps and top to monitor the running
> > processes. But they can be used only when the processes are running long
> > enough. How I can retrieve the system information for processes no longer
> > exist(just exit form running)?
> Running "time program" does the trick. Watch out that most shells have
> a built-in time command that works differently from the one described
> in the manual page, so you'd better invoke it with "\time program" or
> "/usr/bin/time program".

You might also want to check out BSD process accounting. As I understand 
it you need to turn it on in your kernel configuration if it isn't
already, start accounting up with the accton command, then use the sa and
lastcomm commands to read the information.

-- 
------- Alex Holden -------
http://www.linuxhacker.org/
 http://www.robogeeks.org/


_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm
Please visit the above address for information on this list.

Reply via email to