linux查询正在运行的jar包并kill进程 如shiro.jar ps -ef | grep shiro.jar | grep -v grep | awk '{print $2}' | xargs kill -9