Skip to content

Instantly share code, notes, and snippets.

@jpuskar
Created April 14, 2018 17:28
Show Gist options
  • Save jpuskar/60603724162659a5eff63c6843e01d91 to your computer and use it in GitHub Desktop.
Save jpuskar/60603724162659a5eff63c6843e01d91 to your computer and use it in GitHub Desktop.
# redis interactive mode
redis-cli -c -h <fqdn> -p 6379
# > ping
# PONG
redis-cli -c -h <fqdn> -p 6379 --stat
# ------- data ------ --------------------- load -------------------- - child -
# keys mem clients blocked requests connections
# 2 6.24M 63 0 4067924801 (+0) 776668
# 2 6.34M 63 0 4067924980 (+179) 776668
redis-cli -c -h <fqdn> -p 6379 --scan
# key1
# key2
# key3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment