[Gllug] killing a process and child processes

Anthony Newman anthony.newman at ossified.net
Mon Jun 25 14:45:44 UTC 2007

salsaman at xs4all.nl wrote:
> 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).

killall is also best avoided on Solaris ;)

> Is there a better way to do this ?


Gllug mailing list  -  Gllug at gllug.org.uk

More information about the GLLUG mailing list