Command: MONITOR

Purpose: Starts monitoring mode whereby any incoming requests from every other currently connected M/Wire client is echoed to the current client. This can be a useful debugging capability during application development and is meant to be used by a human user connecting to M/Wire via a telnet session.

To terminate a MONITOR session, the client should type QUIT <Enter>

Note that, at present, this command is only available when running M/Wire on GT.M systems.

Arguments:

None

Response

Non-standard multi-line response

Example

ewd@mdb:~$ telnet localhost 6330
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
AUTH xxx
+OK
MONITOR
+OK  [now monitoring all other client requests]
INFO
MVERSION
GET test1["a"]
QUIT [entered by user to stop monitoring]
+OK