linuxstudy@xxxx ~]$ sleep 1500&
[1] 5833
[linuxstudy@xxxx ~]$ kill -s SIGINT 5833
[1]+ 割り込み sleep 1500
[linuxstudy@xxxx ~]$ ps 5833
PID TTY STAT TIME COMMAND //SIGINTによりプロセスが消失
[linuxstudy@xxxx ~]$ sleep 1500&
[1] 5886
[linuxstudy@xxxx ~]$ kill -s SIGHUP 5886
[1]+ Hangup sleep 1500
[linuxstudy@xxxx ~]$ ps 5886
PID TTY STAT TIME COMMAND //SIGHUPによりプロセスが消失
[linuxstudy@xxxx ~]$ sleep 1500&
[1] 5926
[linuxstudy@xxxx ~]$ kill -1 5926
[1]+ Hangup sleep 1500 //ー1(SIGHUP)によりプロセスが消失
[linuxstudy@xxxx ~]$ sleep 1500&
[1] 5945
[linuxstudy@xxxx ~]$ kill -2 5945
[1]+ 割り込み sleep 1500 //ー2(SIGINT)によりプロセスが消失
[linuxstudy@xxxx ~]$ sleep 1500&
[1] 5973
[linuxstudy@xxxx ~]$ kill -20 5973 //ー20(SIGTSTP)によりプロセスが停止
[1]+ 停止 sleep 1500
[linuxstudy@xxxx ~]$
More than 1 year has passed since last update.
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme