ps aux |grep java |grep -v 'grep java'|awk {'print $2'}|xargs kill -9
ps aux |grep java 查询包含‘java’的进程|grep -v 'grep java' 过滤掉 grep java 进程
|awk {'print $2'} 打印进程号
|xargs kill -9 杀进程