0

I think I now know the answer. Since the processes p2, p3, ...., are all children of the same parent p1, then all the processes are in the same process group so any signal (e.g. SIGALRM ??) set by p1 will be received by each of p2, p3, ... Is that correct? I'll try it out. -- Peter R

2

I can't say for a tcsh builtin named kill, if any, but the kill system call, and the /bin/kill command that uses it, both offer to send a signal to all the processes belonging to the same process group PGRP, by specifying -PGRP as the target PID.

For example:

/bin/kill -- -PGRP
/bin/kill -SIG -PGRP

Else, by default, your signal is sent to the process specified by PID, and only this one.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.