1.查找进程id命令
ps -ef | grep -v grep|grep bdse-tour-service-1.0-jar-with-dependencies.jar | awk '{print $2}'
2.杀掉进程
kill -9 `ps -ef | grep -v grep|grep bdse-tour-service-1.0-jar-with-dependencies.jar | awk '{print $2}'`
3.启动服务
1.查找进程id命令
ps -ef | grep -v grep|grep bdse-tour-service-1.0-jar-with-dependencies.jar | awk '{print $2}'
2.杀掉进程
kill -9 `ps -ef | grep -v grep|grep bdse-tour-service-1.0-jar-with-dependencies.jar | awk '{print $2}'`
3.启动服务