linux如何查看端口被哪个进程占用

如题所述

$ sudo netstat -tpln|grep 80
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN 1234/nginx.conf
温馨提示:答案为网友推荐,仅供参考
相似回答