in reply to Linux Process Start Time
You might try just keeping track of PID and procname between calls to your monitor. Using 'ps -ex | grep 'name1|name2|...' should give you what you want with either a POSIX or BSD ps(pid will always be first field). If the same PID/procname shows up twice in a row, kill it off. Just a thought...
fnord
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Linux Process Start Time
by pileofrogs (Priest) on Jul 27, 2009 at 17:43 UTC | |
by Illuminatus (Curate) on Jul 27, 2009 at 18:22 UTC |