Redis memory usage
To display your Redis instance memory usage (all databases).
In MBytes:
redis-cli "info" | grep "used_memory_human:" | cut -d: -f2
In Bytes:
redis-cli "info" | grep "used_memory:" | cut -d: -f2
Written by Damian Le Nouaille
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Redis
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#