Redis MEMORY HELP 命令返回不同子命令的说明。
命令格式
MEMORY HELP
可用版本:>=4.0.0
时间复杂度:O(1)
命令返回值
返回相关字符串描述。
示例
redis> MEMORY HELP
1) "MEMORY DOCTOR - Outputs memory problems report"
2) "MEMORY USAGE <key> [SAMPLES <count>] - Estimate memory usage of key"
3) "MEMORY STATS - Show memory usage details"
4) "MEMORY PURGE - Ask the allocator to release memory"
5) "MEMORY MALLOC-STATS - Show allocator internal stats"