Connect with redis-cli

Open an interactive redis-cli session

redis-cli -h redis -p 6379 -a <password>

tool
redis32 commands
tags
redis

More redis commands

  • redis-cli -h redis INFO all

    Full server info: memory, CPU, clients, persistence

  • redis-cli -h redis MONITOR

    Stream every command the Redis server runs, it slows Redis down, so don't leave it on in production

  • redis-cli -h redis SLOWLOG GET 20

    Show the last 20 slow commands with execution time

  • redis-cli -h redis MEMORY USAGE <key>

    Show how many bytes one key uses

  • redis-cli -h redis FLUSHDB ASYNC

    Delete all keys in the current DB in the background, there is no undo

all 32 redis commands