Redis Admin and redis-cli Cheat Sheet/Track latency continuously

Sample latency continuously at an interval.

Section: redis-cli workflows

Track latency continuously

bash
bash
redis-cli --latency-history -i 1

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
Run latency doctor
Inspect latency spikes and advice from the server.
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
Find big keys
Scan for the largest keys by data type.
OpenIn sheetbashsame section
Find memory-heavy keys
Scan for keys consuming large amounts of memory.
OpenIn sheetbashsame section