On Tue, 2008-01-22 at 11:33 -0600, Jeffrey L. Taylor wrote:
> I have a program that starts and stops a child process w/ STOP and CONT
> signals.  Is there a way to do the same for any processes the child forks
> (i.e. grandchild, great grandchild, etc.)?

There is the concept of a process group. Maybe setpgrp/getpgrp will give
a clue? All children, and their children, are part of the same process
group. I think this is really coarse grained in that you can do things
to all members of the process group, not just specific ones. But maybe
you can use this to find who they are. Sorry I cannot say more. I have
not really used this.

-- 
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Kapellgränd 7
P.O. Box 4205
SE-102 65 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to