centos 批量杀死进程

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

猜你喜欢

转载自www.cnblogs.com/maomingchao/p/9882343.html