linux kill all proccess

来源:互联网 发布:path软件 5.1 编辑:程序博客网 时间:2024/06/07 17:45
$ ps -ef | grep PROCESS | grep -v grep | awk '{print $2}'

prints the PID in the output of processes which contains PROCESS in their name.


$ kill -9 `ps -ef | grep oraxpo | grep -v grep | awk '{print $2}'`
to kill them

原创粉丝点击