ps -ef | grep “testapp*” | grep -v grep | awk '{print $2}' | xargs kill -9Linux系统下使用该命令查找到进程号并杀掉相关进程。可以作为快速命令做成一个按钮非常的方便!