查看当前使用网络端口的进程

来源:互联网 发布:网速流量检测软件 编辑:程序博客网 时间:2024/05/21 22:28

netstat -napt

Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      867/mysqld
tcp        0      0 127.0.0.1:53            0.0.0.0:*               LISTEN      786/dnsmasq
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      603/sshd
tcp        0      0 127.0.0.1:631           0.0.0.0:*               LISTEN      667/cupsd
tcp        1      0 192.168.1.10:55862      91.189.89.144:80        CLOSE_WAIT  1512/ubuntu-geoip-p
tcp        0     52 192.168.1.10:22         192.168.1.112:54435     ESTABLISHED 1332/sshd: cyf [pri
tcp6       0      0 :::22                   :::*                    LISTEN      603/sshd
tcp6       0      0 ::1:631                 :::*                    LISTEN      667/cupsd

原创粉丝点击