redis相关命令
1、查询redis当前连接数据
netstat -na | find /c "ESTABLISHED"
2、查询redis当前信息
# netstat -nat | awk '{print $6}' | sort | uniq -c | sort -n
结果比如:1 established)
1 FIN_WAIT2
1 Foreign
5 LAST_ACK
11 SYN_RECV
12 LISTEN
111 TIME_WAIT
204 FIN_WAIT1
1307 ESTABLISHED