linux查看端口所占用的进程号

基本格式 : netstat -tlnp|grep port端口号

例如 :

          netstat -tlnp|grep 8080
        查看结果

         tcp        0      0 :::8080                     :::*                        LISTEN      23031/java  

猜你喜欢

转载自hiaward08.iteye.com/blog/2262558