diff options
Diffstat (limited to 'redis/commands.py')
| -rw-r--r-- | redis/commands.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redis/commands.py b/redis/commands.py index eb7cea5..bbd422f 100644 --- a/redis/commands.py +++ b/redis/commands.py @@ -575,6 +575,10 @@ class Commands: "Return a dictionary of memory stats" return self.execute_command('MEMORY STATS') + def memory_malloc_stats(self): + """Return an internal statistics report from the memory allocator.""" + return self.execute_command('MEMORY MALLOC-STATS') + def memory_usage(self, key, samples=None): """ Return the total memory usage for key, its value and associated |
