redis-cli -c -h 10.15.9.166 -p 6379 -a xxxxxx client list | awk ‘{print$2}’ | awk -F ‘:’ ‘{print$1}’ | sort | uniq
查看redis客户端ip
a min to read
post
redis-cli -c -h 10.15.9.166 -p 6379 -a xxxxxx client list | awk ‘{print$2}’ | awk -F ‘:’ ‘{print$1}’ | sort | uniq