linux awk 杀进程
emer 进程名字模糊匹配 grep -v sh 有个守护进程是sh 起来的
ps -ef | grep emer |grep -v grep|grep -v sh|awk '{print "kill -9 "$2}'| sh
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/16332396.html
ps -ef | grep emer |grep -v grep|grep -v sh|awk '{print "kill -9 "$2}'| sh
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/16332396.html