Oldest idle clients
Find long-lived/idle connections leaking sockets; sort by age then idle
redis-cli CLIENT LIST | tr ' ' '\n' | grep -E 'addr=|age=|idle=' | paste - - - | sort -t= -k3 -rn | head
- tool
- redis32 commands
More redis commands
-
redis-cli --cluster check <host>:<port>Verify slot coverage, node consistency and open slots across the cluster
-
redis-cli -h redis -p 6379 -a <password>Open interactive Redis CLI session
-
redis-cli -h redis INFO allFull server information: memory, CPU, clients, persistence
-
redis-cli -h redis MONITORStream all commands executed on the Redis server
-
redis-cli -h redis SLOWLOG GET 20Show last 20 slow queries with execution time