[Pdx-pm] Who's your Daddy? [was: job control]

Tom Phoenix rootbeer at redcat.com
Mon Jun 2 09:54:46 CDT 2003


On Sun, 1 Jun 2003, Randall Hansen wrote:

> It's easier that you think, but very similar.  The 'ps' command has a
> 'T' switch to select all processes on a current terminal -- all your
> children, so to speak.  On a similar note, 'ps' has an 'f' switch that
> shows processes in an ASCII-art tree (very cool).

Of course, ps is probably the least-portable of all the standard
utilities, alas. So if you get this solution to work with your system's
ps, chances are that it will be near-impossible to port to anyone else's
ps.

Are you trying to accomplish something that can be explained in fewer than
100 words? Chances are good that someone else has wanted to do this in the
history of shells and job control, and someone here might have some
insight on how it was done, how to do it, or why it's impossible.

Cheers!

--Tom Phoenix




More information about the Pdx-pm-list mailing list