You can use the following command to list the databases for which some keys are defined:
INFO keyspace
You can also use Select 0 or Select 1 or any db you want to check with the current size. After selecting db Use the dbsize command to display the size of the selected db.
Select 9 OK dbsize (integer) 20953296
to list general information of your type redis info and to view only memory just enter
INFO Memory # Memory used_memory:1259920 used_memory_human:1.20M used_memory_rss:1227000 used_memory_peak:2406152 used_memory_peak_human:2.29M used_memory_lua:36864 mem_fragmentation_ratio:0.97 mem_allocator:dlmalloc-2.8
Aswin 1054
source share