MONITOR
Streams observed command activity to the connection.
Server & administration · Example verified
Syntax covered here
MONITORThe case uses a dedicated monitor connection and verifies that it receives a SET issued on another connection.
Tested example & replies
Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.
# connection: monitor
> MONITOR
"OK"
# connection: default
> SET observed value
"OK"
# connection: monitor
# receive pushed message
"1789988763.302522 [0 127.0.0.1:54232] \"SET\" \"observed\" \"value\""