kill is not really meant only
to kill a process. But main
intention is to send a signal
to process.And the process
handles these signals to do
various tasks.
kill -INT 1234
#where 1234 is the Process ID
is really, this set an
interrupt signal, Ctrl-C is an
example of interupt signal given
to shell.
kill -HUP 1234
#some UNIX daemons handle this,
to do refreshing business.
kill -KILL 1234
This is the sure kill,which
cannot be handled by any process.
Also know as, kill -9 1234.
Just, check the in the file
/usr/include/sys/signal.h for all
signals on the system.
More about this can be found on
kill and signal man pages.
This tip generously supported by: dkotian1@rediffmail.com NOTE: All tips provided are USE AT YOUR OWN RISK. Tips are submitted
by various unix admins around the globe. UGU suggest you read and
test each tip in a non-volitile environment before placing into
production.