[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 ?
pkill?
Ant
--
Gllug mailing list - Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug
More information about the GLLUG
mailing list