标题: "kill" command. [打印本页] 作者: Ken123 时间: 2003-05-04 16:37 标题: "kill" command. what is the diffenence between the following two commands:
1) kill -1 pid
2) kill -HUP pid
thx all.作者: 疯狂钻石 时间: 2003-05-04 16:42 标题: "kill" command. if you chage any daemon's configuration , e.g, inetd.conf or Apache httpd.conf and want it work using new configuration immediately. you can use the second command
kill -9 pid
this is kill the process by force. it is useful作者: JohnBull 时间: 2003-05-04 18:19 标题: "kill" command. kill命令的字面意思容易让人发生误会。
kill命令的本质实际上是“向指定进程发送一个信号”(man kill)
它的语法就是
kill [信号说明] 进程编号
如果省略信号说明部分,kill就会发送SIHTERM信号。