Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


Redis 内存信息

Redis 大约 878 字

指令

info memory

字段含义

  • used_memory 数据占用了多少内存(字节)
  • used_memory_human 数据占用了多少内存(带单位的,可读性好)
  • used_memory_rss 向系统申请了多少内存(字节)
  • used_memory_rss_human 向系统申请了多少内存(带单位的,可读性好)
  • used_memory_peak 占用内存的峰值(字节)
  • used_memory_peak_human 占用内存的峰值(带单位的,可读性好)
  • total_system_memory 操作系统的内存大小(字节)
  • total_system_memory_human 操作系统的内存大小(带单位的,可读性好)
  • used_memory_lua lua引擎所占用的内存大小(字节)
  • maxmemory 最大内存限制, 0为无限制
  • maxmemory_policy 达到最大内存后的运行策略
  • mem_fragmentation_ratio 内存碎片率
  • mem_allocator 内存分配器版本,在编译时指定的。有libc、jemalloc、tcmalloc这3种
used_memory:16640472
used_memory_human:15.87M
used_memory_rss:22704128
used_memory_rss_human:21.65M
used_memory_peak:30113200
used_memory_peak_human:28.72M
total_system_memory:33625522176
total_system_memory_human:31.32G
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
mem_fragmentation_ratio:1.36
mem_allocator:jemalloc-4.0.3
阅读 2512 · 发布于 2019-04-08

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

扫描下方二维码关注公众号和小程序↓↓↓

扫描二维码关注我
昵称:
随便看看 换一批