ps -ef|grep 进程名称|grep -v grep|awk '{print "kill -9 " $2}' |sh
例如:批量杀死uwsgi进程
ps -ef|grep uwsgi|grep -v grep|awk '{print "kill -9 " $2}' |sh
wx630ecab199b5d 博主文章分类:Linux ©著作权
ps -ef|grep 进程名称|grep -v grep|awk '{print "kill -9 " $2}' |sh
例如:批量杀死uwsgi进程
ps -ef|grep uwsgi|grep -v grep|awk '{print "kill -9 " $2}' |sh
【代码】Linux命令:批量杀死java进程、批量杀死nodejs进程。
运维服务器管理僵尸进程
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M