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 ~]$ 

猜你喜欢

转载自blog.csdn.net/u014636209/article/details/85287068