Report memory used by a given redis key using the dump command on a running redis server #13

Closed
sripathikrishnan opened this Issue Sep 13, 2012 · 1 comment

1 participant

@sripathikrishnan sripathikrishnan added a commit that referenced this issue Sep 13, 2012
@sripathikrishnan Issue #13 : Adds new command: redis-memory-for-key
This command prints the approximate memory used by a key

Logic :
1. Connect to a running Redis Server
2. Issue dump command and download binary dump of a key
3. Parse the dump using RdbParser
4. Display the memory usage
08383ff
@sripathikrishnan

Added new command redis-memory-for-key, updated readme.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment