- 论坛徽章:
- 72
|
主要用于监控redis实例的状态,包括overview、vmstat、vmpage、ondisk-size、latency,具体信息如下:- $ ./redis-stat help
- Usage: redis-stat <type> ... options ...
- Statistic types:
- overview (default) Print general information about a Redis instance.
- vmstat Print information about Redis VM activity.
- vmpage Try to guess the best vm-page-size for your dataset.
- ondisk-size Stats and graphs about values len once stored on disk.
- latency Measure Redis server latency.
- Options:
- host <hostname> Server hostname (default 127.0.0.1)
- port <hostname> Server port (default 6379)
- delay <milliseconds> Delay between requests (default: 1000 ms, 1 second).
- samplesize <keys> Number of keys to sample for 'vmpage' stat.
- logscale User power-of-two logarithmic scale in graphs.
复制代码 |
|