redis使用内存info命令

来源:互联网 发布:游族网络虚假宣传 编辑:程序博客网 时间:2024/06/11 13:26
2017/4/21 16:45:19
127.0.0.1:6379> info memory
# Memory
used_memory:1523016               Redis使用的内存总量
used_memory_human:1.45M                         上面参数换算成方便人读的(就是used_memory/1024/1024)
used_memory_rss:2674688           从操作系统上显示已经分配的内存总量。
used_memory_peak:9452440          过去Redis内存使用的峰值
used_memory_peak_human:9.01M               上面参数换算成方便人读的(就是used_memory_peak/1024/1024)
used_memory_lua:36864
mem_fragmentation_ratio:1.76      内存碎片率。
mem_allocator:jemalloc-3.6.0      在编译时指定的Redis使用的内存分配器,可以是libc、jemalloc、tcmalloc。
0 0