I have a requirement to write to a log file on reception of any terminate command like SIGTERM AND SIGKILL.
I can register for SIGTERM but how can handle the SIGKILL signal?
I have a requirement to write to a log file on reception of any terminate command like SIGTERM AND SIGKILL.
I can register for SIGTERM but how can handle the SIGKILL signal?