根据端口查pid netstat -tunlp|grep 9001 可以根据名字查:ps -ef | grep core.jar
只有本次查询的,表示没有启动的项目,如果有,用kill pid
nohup java -jar core.jar &