Chinaunix

标题: kill命令参数的使用 [打印本页]

作者: mycoffee8    时间: 2009-07-24 11:46
标题: kill命令参数的使用
kill [-s signal | -p] [-a] pid

-a
    Do not restrict the commandname-to-pid conversion to processes with the same uid as the present process.
-p
    Specify that kill should only print the process id (pid) of the named processes, and not send any signals.



请问kill命令的参数p和a有和用途,在终端中命令使用-p  -a没有任何作用,提示参数不对。好心人请赐教。
作者: mycoffee8    时间: 2009-07-24 13:59
????
作者: unixlinuxsys    时间: 2009-07-24 14:12
http://unixhelp.ed.ac.uk/CGI/man-cgi?kill
作者: mycoffee8    时间: 2009-07-24 14:38
标题: 回复 #3 unixlinuxsys 的帖子
版本不一样?
作者: 混沌时代    时间: 2009-07-26 20:15
可能是版本不一样的问题吧
楼主不妨试试
man kill
这命令看看吧,看看你的版本中kill的相关参数
作者: kns1024wh    时间: 2009-07-28 14:07
标题: 回复 #1 mycoffee8 的帖子
PID信息显示,
常用的是kill -9 PID  
    参数 信号 和进程的ID




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2