In Redis there's a MONITOR command that is quite handy to watch all the commands that are being processed.
Once you've started monitoring, is there any way to stop monitoring from the same session?
If you kill the connection, does the monitoring end (as opposed to resource-intensive monitoring continuing on the server)?
There is no API to do it - just close the connection.
The redis-cli command does not implement anything specific when the user hits CTRL-C to interrupt the program. Closing the connection should stop the monitoring.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With