kill命令用于进程管理(停止,暂停,继续等)
0 探测程序是否允许
HUP 1 终端断线
INT 2 中断(同 Ctrl + C)
QUIT 3 退出(同 Ctrl + \)
TERM 15 终止
KILL 9 强制终止
CONT 18 继续(与STOP相反, fg/bg命令)
STOP 19 暂停(同 Ctrl + Z)
CHLD 17 父进程或init进程进行收拾僵尸进程用到的信号

~]# killall -0 nginx

用于查看nginx的运行状态


转自:
https://www.cnblogs.com/jing1617/p/8506374.html


END

Last modification:October 21st, 2019 at 09:17 am
If you think my article is useful to you, please feel free to appreciate