Active Redis Connections
$ redis-cli -h my-redis-server CLIENT LIST \
| sed -n 's|.*addr=\(.*\)\:.*|\1|p' \
| sort | uniq -c
1 10.49.0.145
60 10.49.1.115
60 10.49.1.139
184 10.49.1.194
60 10.49.1.234
60 10.49.1.63
$ redis-cli -h my-redis-server CLIENT LIST \
| sed -n 's|.*addr=\(.*\)\:.*|\1|p' \
| sort | uniq -c
1 10.49.0.145
60 10.49.1.115
60 10.49.1.139
184 10.49.1.194
60 10.49.1.234
60 10.49.1.63