Negative PID values may be used to choose whole process groups; see the PGID column in ps command output
perldoc -f kill:
...
Unlike in the shell, if SIGNAL is negative,
it kills process
groups instead of processes.
(On System V, a negative PROCESS
number will also kill process groups, but that's not portable.)...
In reply to Re: Killing a process and, recursively, all its children
by bsb
in thread Killing a process and, recursively, all its children
by bronto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |