MEMORY HELP

MEMORY HELP 命令返回不同子命令的使用说明。

The MEMORY HELP command returns a helpful text describing the different subcommands.

*返回值

数组: 各子命令的描述列表。

*例子

127.0.0.1:5379> MEMORY HELP
1) MEMORY <subcommand> arg arg ... arg. Subcommands are:
2) DOCTOR - Return memory problems reports.
3) MALLOC-STATS -- Return internal statistics report from the memory allocator.
4) PURGE -- Attempt to purge dirty pages for reclamation by the allocator.
5) STATS -- Return information about the memory usage of the server.
6) USAGE <key> [SAMPLES <count>] -- Return memory in bytes used by <key> and its value. Nested values are sampled up to <count> times (default: 5).