Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
redis
/
Monitor commands in real-time
Monitor commands in real-time
redis
Stream all commands executed on the Redis server
redis-cli -h redis MONITOR
⎘ copy
#redis
#debug
more redis
all 32 commands →
Slow log
redis-cli -h redis SLOWLOG GET 20
Memory usage of key
redis-cli -h redis MEMORY USAGE <key>
Flush database
redis-cli -h redis FLUSHDB ASYNC
Save snapshot (BGSAVE)
redis-cli -h redis BGSAVE
Check replication info
redis-cli -h redis INFO replication