find out the age of a process

From: Zaigui Wang (zaigui@yahoo.com)
Date: Mon Jan 27 2003 - 18:36:20 EST


Managers,

I need to find out whether a process is new as of a
certain time today, say 12:01AM.

The "-o stime,etime" option to ps definitely give me
some info about when the process is started, how much
time has elapsed since it is started. While it is easy
to tell by reading the numbers and mentally calculate,
it is not very straightforward to make sense of this
info programmatically.

Thanks.
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:43 EDT