On Thu, Oct 30, 2003 at 08:37:42AM +1300, Luuk Paulussen wrote:
> You could do something like "ps ax | grep tail" and get the first field of
> the resulting line (not sure what the best tool is for that, probably
> something like cut)
There's a few problems with that idea, here's one:
$ ps ax | grep tail
25394 pts/0 S 0:00 grep tail
You're going to be much better off if you can work out a way to get the
PIDs directly from the process that started them, i.e. the shell in this
case.
Cheers,
-mjg
--
Matthew Gregan |/
/| [EMAIL PROTECTED]