Re: [fsug-tvm] How to Handle Kll signal
SIGKILL and SIGSTOP cannot be handled.I think SIGTERM is the signal given asking it politely terminate. You can handle it else the kernel may use SIGKILL to kill the process which none can handle. Arjun.S.R College of Engineering Trivandrum http://www.cet.ac.in/home.php On Fri, Aug 13, 2010 at 00:00, deepak kumar deepakkuma...@gmail.com wrote: Hi everyone. I have a process running. Is it is possible to inform the process about the system shutdown, restart or a kill signal, so that the process can do some jobs before it gets killed -- Freedom is the only law. Freedom Unplugged http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups ilug-tvm group. To control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe To post to this group, send email to ilug-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@googlegroups.com For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en
Re: [fsug-tvm] How to Handle Kll signal
Oh! Didnt see it. Its the same. :) Arjun.S.R College of Engineering Trivandrum http://www.cet.ac.in/home.php On Fri, Aug 13, 2010 at 00:36, Mohamed Naufal naufa...@gmail.com wrote: Processes are notified of an impending shutdown by the signal SIGTERM. You could write a signal handler for it (see man 2 signal), though I'm not sure it will have enough time to execute if the delay is set to 0. SIGKILL and SIGSTOP cannot be handled. Cheers Naufal -- Freedom is the only law. Freedom Unplugged http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups ilug-tvm group. To control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe To post to this group, send email to ilug-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@googlegroups.com For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en
Re: [fsug-tvm] How to Handle Kll signal
On 13 August 2010 00:00, deepak kumar deepakkuma...@gmail.com wrote: Hi everyone. I have a process running. Is it is possible to inform the process about the system shutdown, restart or a kill signal, so that the process can do some jobs before it gets killed. -- Processes are notified of an impending shutdown by the signal SIGTERM. You could write a signal handler for it (see man 2 signal), though I'm not sure it will have enough time to execute if the delay is set to 0. SIGKILL and SIGSTOP cannot be handled. Cheers Naufal -- Freedom is the only law. Freedom Unplugged http://www.ilug-tvm.org You received this message because you are subscribed to the Google Groups ilug-tvm group. To control your subscription visit http://groups.google.co.in/group/ilug-tvm/subscribe To post to this group, send email to ilug-tvm@googlegroups.com To unsubscribe from this group, send email to ilug-tvm-unsubscr...@googlegroups.com For details visit the google group page: http://groups.google.com/group/ilug-tvm?hl=en