Handling and propagating signals
Dagfinn Ilmari Mannsåker
ilmari at ilmari.org
Thu Feb 1 19:48:46 GMT 2007
On Thu, 2007-02-01 at 13:19 -0500, Uri Guttman wrote:
> you can kill the process group with the killpg system call. at least
> solaris doesn't have a command line version but it is trivial in perl:
According to POSIX.1/SUSv3 the pid argument to kill(1) has the same
semantics as kill(3), which includes the following:
If pid is negative, but not -1, sig shall be sent to all
processes (excluding an unspecified set of system processes)
whose process group ID is equal to the absolute value of pid,
and for which the process has permission to send a signal.
So while there is no killpg(1), kill(1) will do the job just fine.
--
ilmari
More information about the london.pm
mailing list