centos查看端口命令

https://blog.csdn.net/AntKengElephant/article/details/85342065

ps aux|grep 你刚刚运行的包名.jar

ps aux|grep mgcr_pc-0.0.1-SNAPSHOT.war


然后会显示线程id
关闭进程 如20121

杀掉线程
 

kill -9 20121
发布了149 篇原创文章 · 获赞 28 · 访问量 4万+

猜你喜欢

转载自blog.csdn.net/u011442726/article/details/104313411
今日推荐