From cc1db901e934826ce273b19a3f257d235719046f Mon Sep 17 00:00:00 2001 From: antirez Date: Thu, 9 Apr 2009 08:44:55 +0200 Subject: [PATCH] doc changes --- TODO | 1 + doc/CommandReference.html | 4 +-- doc/MonitorCommand.html | 63 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 doc/MonitorCommand.html diff --git a/TODO b/TODO index edbc5d9e..32533ccf 100644 --- a/TODO +++ b/TODO @@ -1,5 +1,6 @@ BEFORE REDIS 1.0.0-rc1 +- Add a new field as INFO output: bgsaveinprogress - Remove max number of args limit - GETSET - network layer stresser in test in demo diff --git a/doc/CommandReference.html b/doc/CommandReference.html index c42f5766..3ef05e6d 100644 --- a/doc/CommandReference.html +++ b/doc/CommandReference.html @@ -28,13 +28,13 @@

Redis Command Reference

Every command name links to a specific wiki page describing the behavior of the command.

Connection handling

Commands operating on string values

-

Commands operating on the key space

+

Commands operating on the key space

Commands operating on lists

Commands operating on sets

Multiple databases handling commands

Sorting

Persistence control commands

-

Remote server control commands

+

Remote server control commands

diff --git a/doc/MonitorCommand.html b/doc/MonitorCommand.html new file mode 100644 index 00000000..645968e6 --- /dev/null +++ b/doc/MonitorCommand.html @@ -0,0 +1,63 @@ + + + + + + + +
+ + + +
+
+ +MonitorCommand: Contents
  MONITOR
    Return value
    See also +
+ +

MonitorCommand

+ +
+ +
+ +
+

MONITOR

MONITOR is a debugging command that outputs the whole sequence of commandsreceived by the Redis server. is very handy in order to understandwhat is happening into the database. This command is used directlyvia telnet.
+
+% telnet 127.0.0.1 6379
+Trying 127.0.0.1...
+Connected to segnalo-local.com.
+Escape character is '^]'.
+MONITOR
++OK
+monitor
+keys *
+dbsize
+set x 6
+foobar
+get x
+del x
+get x
+set key_x 5
+hello
+set key_y 5
+hello
+set key_z 5
+hello
+set foo_a 5
+hello
+
The ability to see all the requests processed by the server is useful in orderto spot bugs in the application both when using Redis as a database and asa distributed caching system.
+
In order to end a monitoring session just issue a QUIT command by hand.
+

Return value

Non standard return value, just dumps the received commands in an infinite flow.

See also

+ +
+ +
+
+ + + -- 2.47.2