批量kill进程

ps -e | grep java |awk '{print $1}'|xargs kill -9

原文地址:https://www.cnblogs.com/polestar/p/5498892.html