tcp 1 0 dev-db:ssh 101.174.100.22:57643 CLOSE_WAIT - 找出运行在指定端口的进程:netstat -an | grep 80 [root@zhz jiehun]# netstat -an | grep 80
root@master:/home/hadoop# netstat -ltp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp00localhost:domain0.0.0.0:* LISTEN964/systemd-resolve tcp000.0.0.0:ssh0.0.0.0:* LISTEN1640/sshd tcp00localhost:ipp0.0.0.0:* LISTEN1149/...
(1)Active Internet connections Active Internet connections表⽰活跃的⽹络连接,包括UDP和TCP连接信息。其中"Recv-Q"和"Send-Q"指接收队列和发送队列,这些数字⼀般都是0,如果不是则表⽰数据发送和接收队列存在堆积,这种情况较为少见。Local Address和Foreign Address表⽰本地和远端的IP、端⼝,State...