SIGINT, SIGQUIT, SIGTERM, SIGSTOP difference

2) SIGINT
program termination (interrupt) signal is sent when the user types the INTR character (usually Ctrl-C), is used to notify the foreground process group to terminate the process.


3) SIGQUIT
and SIGINT similar, but the QUIT character (usually Ctrl- \) to control. In the process due to receipt of producing a core file SIGQUIT exit, similar to a program error signal in this sense.


15) SIGTERM
program end (Terminate) signal, and SIGKILL except that the signal can be blocked and processed. Often used to ask an application exits normally, shell command kill default generate this signal. If the process is not terminated, we will try SIGKILL.


19) SIGSTOP
stop executing (stopped) process and pay attention to the difference between it and terminate the interrupt: The process is not over, just suspend the implementation of this signal can not be blocked, processed or ignored.

Guess you like

Origin www.cnblogs.com/liliuguang/p/11910332.html