centos6 下安装 iproute 包
yum install -y iproute
查看 6379 端口
ss -nlp | grep redis
查看连接的各种状态
ss -nat | awk '{++s[$1]} END {for(k in s) print k,s[k]}'
查看所有状态
ss state all
http://sharadchhetri.com/2014/09/27/ss-command-alternate-netstat/
Think before you speak, read before you think.
centos6 下安装 iproute 包
yum install -y iproute
查看 6379 端口
ss -nlp | grep redis
查看连接的各种状态
ss -nat | awk '{++s[$1]} END {for(k in s) print k,s[k]}'
查看所有状态
ss state all
http://sharadchhetri.com/2014/09/27/ss-command-alternate-netstat/
Leave a Reply