mirror of
https://github.com/fluencelabs/redis
synced 2025-06-18 11:41:20 +00:00
Add DEBUG JEMALLOC INFO
Uses jemalloc function malloc_stats_print() to return stats about what jemalloc has allocated internally.
This commit is contained in:
@ -629,6 +629,9 @@ static int cliSendCommand(int argc, char **argv, int repeat) {
|
||||
|
||||
output_raw = 0;
|
||||
if (!strcasecmp(command,"info") ||
|
||||
(argc == 3 && !strcasecmp(command,"debug") &&
|
||||
(!strcasecmp(argv[1],"jemalloc") &&
|
||||
!strcasecmp(argv[2],"info"))) ||
|
||||
(argc == 2 && !strcasecmp(command,"cluster") &&
|
||||
(!strcasecmp(argv[1],"nodes") ||
|
||||
!strcasecmp(argv[1],"info"))) ||
|
||||
|
Reference in New Issue
Block a user