How to watch Redis activity
redis-cli – the Redis command line interface. It has an interactive REPL (Read Eval Print Loop) mode where the user types Redis commands and received replies, and a command mode where
redis-cli is executed with additional arguments and the reply is printed to the standard output. We use it here in the interactive mode.
Similarly to the Pub/Sub mode, the monitoring mode is entered automatically once you use the MONITOR command. All commands received by the active Redis instance will be printed to the standard output:
$ redis-cli MONITOR OK 1460100081.165665 [0 127.0.0.1:51706] "set" "shipment:8000736522714:status" "sorting" 1460100083.053365 [0 127.0.0.1:51707] "get" "shipment:8000736522714:status"