9951 explained code solutions for 126 technologies


redisGet memory usage for a key in Redis


redis-cli MEMORY USAGE testctrl + c
redis-cli

launch Redis CLI interface in interactive mode

MEMORY USAGE

returns amount of bytes used for specified key

test

name of the key to get memory usage for