<html dir="ltr"><head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta content="MSHTML 6.00.2900.3492" name="GENERATOR">
<style title="owaParaStyle">P {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</style>
</head>
<body ocsi="x">
<div dir="ltr"><font face="Tahoma" color="#000000" size="2">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.</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font> </div>
<div dir="ltr"><font face="tahoma" size="2">Does anybody know a way to send a specific kill signal to a all the descendents of some specific pid?</font></div>
<div dir="ltr"><font face="tahoma" size="2"></font> </div>
<div dir="ltr"><font face="tahoma" size="2">FWIW - I read the kill man page, and it's riddled with errors. The most annoying one was ...
</font></div>
<ul dir="ltr">
<li>
<div><font face="tahoma" size="2">(from man kill) -p Specify that kill should only print the process id (pid) of the named processes, and not send any signals.</font></div>
</li><li>
<div><font face="tahoma" size="2">So then I did this:<br>
[harveyed@gotham ~]$ ps<br>
PID TTY TIME CMD<br>
6382 pts/18 00:00:00 bash<br>
20595 pts/18 00:00:00 ps<br>
<br>
<font face="tahoma">And: kill -KILL -p 6382<br>
unfortunately kills my present terminal. D'Oh!!</font></font></div>
</li></ul>
</body>
</html>