3 Aralık 2018 Pazartesi

SIGKILL (9)

Giriş
Açıklaması şöyle.
The SIGKILL signal is sent to a process to cause it to terminate immediately. In contrast to SIGTERM and SIGINT, this signal cannot be caught or ignored, and the receiving process cannot perform any clean-up upon receiving this signal.
Açıklaması şöyle.
The program actually never receives the SIGKILL signal, as SIGKILL is completely handled by the operating system/kernel.

When SIGKILL for a specific process is sent, the kernel's scheduler immediately stops giving that process any more CPU time (and interrupts its currently executing threads, if there is any). As a result, the process itself would never get the chance to actually process the information that it has received a SIGKILL. Then other kernel routines are called to remove the process from memory and free all resources it had open at the time. As usual, the parent (PPID) of the killed process is notified of the death of the child process with a SIGCHLD signal.
SIGKILL sinyalini durdurmanın yolu yoktur. Uygulama bu sinyali alınca işletim sistemi tarafından kapatılır. Uygulamanın hiçbir şekilde uyarılmadan kapatılır. Hatta uygulamanın kapatılmaması bir hatadır. Açıklaması şöyle
In fact, if SIGKILL fails to terminate a process, that by itself constitutes an operating system bug which you should report.
Diğer
Linux'da bu sinyali göndermek için "kill -9" komutu kullanılır.

Hiç yorum yok:

Yorum Gönder