Last Updated: February 25, 2016
·
939
· damln

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