Skip to content
cheatsheet
home
/
cv
/
weblog
/
cheatsheet
/
proxy
/
vpn
/
status
/
links
EN
RU
☾
New version available
reload
×
cheatsheet
/
redis
/
Connect to Redis CLI
Connect to Redis CLI
redis
Open interactive Redis CLI session
redis-cli -h redis -p 6379 -a <password>
⎘ copy
#redis
more redis
all 32 commands →
Redis info all
redis-cli -h redis INFO all
Monitor commands in real-time
redis-cli -h redis MONITOR
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