Section: redis-cli workflows

Read slow query log

bash
bash
SLOWLOG GET 20

Learn the surrounding workflow

Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.

Related commands

Same sheet · prioritizing redis-cli workflows
Count slowlog entries
Return how many entries are in the slow log.
OpenIn sheetbashsame section
Run a single command from shell
Execute one command non-interactively.
OpenIn sheetbashsame section
Print raw output
Return plain output suitable for shell pipelines.
OpenIn sheetbashsame section
Print CSV output
Render replies as CSV.
OpenIn sheetbashsame section
Run latency doctor
Inspect latency spikes and advice from the server.
OpenIn sheetbashsame section
Track latency continuously
Sample latency continuously at an interval.
OpenIn sheetbashsame section