linux 查看某个端口对应的进程号

[weblogic@10_56_81_179 ~]$ netstat -tunlp|grep 7001
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 ::ffff:10.56.81.179:7001    :::*                        LISTEN      16121/java          
[weblogic@10_56_81_179 ~]$ 

你可能感兴趣的:(linux之常用命令)