Is there any way to ignore signal 9 and 17 (SIGTERM and SIGSTOP) in a program?
If not is it possible for the program to log this signals before exiting ?
All help appreciated.
Is there any way to ignore signal 9 and 17 (SIGTERM and SIGSTOP) in a program?
If not is it possible for the program to log this signals before exiting ?
All help appreciated.
SIGSTOP and SIGKILL are two signals that can not be caught/ignored by applications. The rest can be handled, including SIGTERM.