10 May
2000
10 May
'00
09:14
I just made a perl daemon script and I have a problem when I try to catch the KILL signal. If I kill my daemon with a command like this : kill pid I can catch the signal and make some shutdown operation but if I kill the demon with something like this : kill -9 pid I can't catch this signal . In the script I have a line like this : $SIG{ABRT}=$SIG{INT}=$SIG{TERM}=$SIG{KILL}=$SIG{QUIT}=\&signal_handler This signal (9 which means KILL I suppose ) can't be catch by perl ?
You can't catch the KILL signal. That's a feature of Linux. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/