命令说明
info 命令有三种用法:
info:部分 Redis 系统状态统计信息info all:全部 Redis 系统状态统计信息info {section}:某一块的系统状态统计信息,其中 {section} 可忽略大小写,参考值,如:memory 是查看内存信息。
info {section} 中的 {section} 包含如下:
| 模块名{section} | 模块含义 |
|---|---|
| server | 服务器信息 |
| clients | 客户端信息 |
| memory | 内存信息 |
| persistence | 持久化信息 |
| stats | 全局统计信息 |
| replication | 主从复制信息 |
| cpu | CPU 消耗信息 |
| commandstats | 命令统计信息 |
| cluster | 集群信息 |
| keyspace | 数据库键统计信息 |