Redis - Server Monitor Command


Advertisements

Redis MONITOR is a debugging command that streams back every command processed by the Redis server. It can help in understanding what is happening to the database. This command can be used both via Redis-cli and via telnet. The ability to see all the requests processed by the server is useful in order to spot bugs in an application, both while using Redis as a database and as a distributed caching system.

Syntax

Following is the basic syntax of Redis MONITOR command.

redis 127.0.0.1:6379> MONITOR

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.htm
Advertisements