mirror of
https://github.com/fluencelabs/redis
synced 2025-03-17 08:00:49 +00:00
Add MEMORY DOCTOR to MEMORY HELP.
This commit is contained in:
parent
dc997755bf
commit
bc64df9a66
@ -1163,7 +1163,9 @@ void memoryCommand(client *c) {
|
||||
/* Nothing to do for other allocators. */
|
||||
#endif
|
||||
} else if (!strcasecmp(c->argv[1]->ptr,"help") && c->argc == 2) {
|
||||
addReplyMultiBulkLen(c,4);
|
||||
addReplyMultiBulkLen(c,5);
|
||||
addReplyBulkCString(c,
|
||||
"MEMORY DOCTOR - Outputs memory problems report");
|
||||
addReplyBulkCString(c,
|
||||
"MEMORY USAGE <key> [SAMPLES <count>] - Estimate memory usage of key");
|
||||
addReplyBulkCString(c,
|
||||
|
Loading…
x
Reference in New Issue
Block a user