Connect to Redis CLI
Open interactive Redis CLI session
redis-cli -h redis -p 6379 -a <password>
More redis commands
-
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
-
redis-cli -h redis MEMORY USAGE <key>Show bytes consumed by a specific key
-
redis-cli -h redis FLUSHDB ASYNCDelete all keys in current DB asynchronously