On Thu, Apr 2, 2009 at 4:43 PM, Edward Ned Harvey <[email protected]> wrote:
> I know if I simply "kill pid" then the process and all its children will
> die.  But I don't want to kill them.  I want to "kill -SIGTSTP pid" ... and
> this works as long as I name all the pids in the process tree.  It does not
> cascade the signal to all the child processes if I only name the parent pid.
>
> Does anybody know a way to send a specific kill signal to a all the
> descendents of some specific pid?
>
...

You didn't mention which OS you're using.  You may want to see if
"pgrep/pkill" is available.

e.g. pkill -SIGTSTP -P ppid

  - Paul Beltrani

_______________________________________________
bblisa mailing list
[email protected]
http://www.bblisa.org/mailman/listinfo/bblisa

Reply via email to