[Gllug] killing a process and child processes

salsaman at xs4all.nl salsaman at xs4all.nl
Mon Jun 25 14:56:59 UTC 2007


On Mon, June 25, 2007 16:52, Andy Smith wrote:
> Hi,
>
> On Mon, Jun 25, 2007 at 04:42:14PM +0200, salsaman at xs4all.nl wrote:
>> I need some code which does the following - send a sighup to a process
>> and
>> all child processes of that process.
>
> kill with a negative process ID?
>
> Cheers,
> Andy


Yes !

But how do I get the process group of "/usr/bin/foo" ?


Gabriel.


-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list