>>>>> "Ronan" == Ronan Kirby <rkirby at iol.ie> writes:
Ronan> On Thu, 19 Oct 2000, Roycroft, Bryan wrote:
>> What do the option with this kill command do "kill -HUP <file>
>>
Ronan> Emm, well, you don't kill a file, you kill a process or a
Ronan> pid.
Ronan> the -HUP option will restart the process, like if you
Ronan> wanted to restart a nameserver or the like, it would have
Ronan> more or less the same result of doing an
Ronan> /etc/rc.d/init.d/named restart or ndc restart (but by
Ronan> HUPing it keeps the same PID)
Yes, all that. Remember as well thought that the behaviour of the
application can be dependant on how it is programmed to handle
signals. Not all applications are well-behaved. If so programmed a HUP
signal can be treated just like a KILL signal. Bryan, the HUP and KILL
and are just symonmys for the numbers like kill -9 (KILL) that you
find in the signal.h file that comes with your C library.
Dermot.
--
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!