1.查看tcp端口: netstat -ntpl | grep 10000 2.批量杀掉java进程: ps -ef |grep java|awk '{print $2}' | xargs kill -9