Difference between SIGTERM and SIGKILL

Submitted by jelari
on June 3, 2008 - 7:14am

Hi all,

Which context both signal { SIGTERM and SIGKILL } differs.
kill sends SIGTERM.
kill -9 sends SIGKILL.
Both are terminating the process. What is the notable difference then?..

Regards
-Jelari-

The big diference, is that

luciofm (not verified)
on
June 3, 2008 - 8:17am

The big diference, is that you can't ignore the SIGKILL...

SIGTERM you can catch and do wathever you want, like doing a clean exit (freeing allocated resources, etc).

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.