码迷,mamicode.com
首页 > 系统相关 > 详细

linux下查看监听port相应的进程

时间:2018-02-25 19:06:50      阅读:216      评论:0      收藏:0      [点我收藏+]

标签:gpo   span   sheet   tis   href   post   img   ber   ase   

使用netstat查看进程PID

[root@test ~]#  netstat -anp|grep 5001 
tcp        0      0 :::5001                     :::*                        LISTEN      12886/java          

之后各位看官,就能够用kill -9 PID杀进程了

linux下查看监听port相应的进程

标签:gpo   span   sheet   tis   href   post   img   ber   ase   

原文地址:https://www.cnblogs.com/llguanli/p/8469917.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!