ps -aux|grep tomcat |awk '{print $2}' |xargs kill -9 转载于:https://www.cnblogs.com/caoqh/p/11016510.html