[Gllug] killing a process and child processes

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

Hi all,
I need some code which does the following - send a sighup to a process and
all child processes of that process.

The only way I have found of doing this is "killall -HUP -g foo". However
this is far from perfect (for example killall does not exist on *BSD).

Is there a better way to do this ?


Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list