2011年5月19日星期四

依名字kill指定进程

pidof 全名 | xargs kill
kill $(pidof 全名)
ps aux |grep 标识 |awk '{ print $2 }' | xargs kill

没有评论:

发表评论