Last Updated: February 25, 2016
·
1.037K
· 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