3

I have a box that has a lot of redis stuff going on. I converted my code from writing to a channel to doing a lpush. To see how my output I used redis-cli's monitor command. Is there a way to filter the monitor to command to show only the lpush channel I'm interested in. Theres a lot on the server so I can't catch my output.

For reference I use to do redis-cli subscribe channelname. But this does not work for lpush

chowpay
  • 1,515
  • 6
  • 22
  • 44

1 Answers1

7

I'd grep it:

$ redis-cli monitor | grep -i "lpush"
Itamar Haber
  • 47,336
  • 7
  • 91
  • 117