centos 批量杀死进程命令

 ps aux | grep xxx | grep -v grep | awk '{print $2}' | xargs kill -9

我只测试了 centos 7 可以用

命令中的xxx代表你要删选的进程名

猜你喜欢

转载自blog.csdn.net/weixin_41822224/article/details/115230576