Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

Redis Monitor Command

Redis Monitor Command

Redis Server

The Redis Monitor command is used to print in real time the commands received by the Redis server, for debugging.

Syntax

The basic syntax of the redis Monitor command is as follows:



redis 127.0.0.1:6379> MONITOR 

Available Version

= 1.0.0

Return Value

Always returns OK.

Example



redis 127.0.0.1:6379> MONITOR 

OK

1410855382.370791 [0 127.0.0.1:60581] "info"

1410855404.062722 [0 127.0.0.1:60581] "get" "a"

Redis Server