Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 172.23.154.139:56000 0.0.0.0:* LISTEN 131/sshd
tcp 0 0 172.23.154.139:36000 0.0.0.0:* LISTEN 125/sshd
tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 32547/mysqld
tcp 0 0 0.0.0.0:41069 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN -
tcp 0 0 0.0.0.0:31101 0.0.0.0:* LISTEN -
执行netstat -anop后得到如上结果,有些端口占用没有进程的pid和Program name,怎么才能找出来呢。用root执行。
netstat无法显示PID或进程名
最新推荐文章于 2025-03-17 21:29:23 发布