netstat 查看端口

网络链接状态网络

sshd  远程链接服务    22(端口)    rsync  873   sendmail  25    memcached  11211ssh


查看监听端口tcp

[root@wy ~]# netstat -lnpide

Active Internet connections (only servers)memcached

Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program namespa

tcp        0      0 0.0.0.0:111                 0.0.0.0:*                   LISTEN      1072/rpcbindserver

tcp        0      0 0.0.0.0:22                  0.0.0.0:*                   LISTEN      1228/sshdrpc


查看网络链接状态(能够看到服务端与客户端的通讯状态)it

[root@wy ~]# netstat -anio

相关文章
相关标签/搜索