linux根据名称kill进程: ps -ef | grep -v grep | grep xxxx | awk '{print $2}' | xargs kill -9 转载于:https://www.cnblogs.com/cay914/p/10344867.html