There are several ways to stop a process running in the background. All of them include one of the following signals:
SIGSTOPSIGTSTPSIGTTOUSIGTTIN
SIGSTOPis serious. It is non-blocking, unresponsive, uncontrollable. He stops the process as confidently as he SIGKILLkills him. Others may be handled by the background process to prevent a stop.
- ,
kill(2), , raise(3) kill(2) - ,
tostop (. stty -a). SIGTTOU. tcsetattr(3) ioctl. ( , stty.) SIGTTOU tostop.- .
SIGTTIN.
, , .