【Redis】常用命令

查看内存

# redis-cli
127.0.0.1:6379> auth 123456
127.0.0.1:6379> info memory

结果

复制代码
# Memory
used_memory:42030440
used_memory_human:40.08M
used_memory_rss:46362624
used_memory_rss_human:44.21M
used_memory_peak:64010632
used_memory_peak_human:61.05M
used_memory_peak_perc:65.66%
used_memory_overhead:2108332
used_memory_startup:803008
used_memory_dataset:39922108
used_memory_dataset_perc:96.83%
allocator_allocated:42146632
allocator_active:43757568
allocator_resident:47595520
total_system_memory:67326414848
total_system_memory_human:62.70G
used_memory_lua:37888
used_memory_lua_human:37.00K
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
allocator_frag_ratio:1.04
allocator_frag_bytes:1610936
allocator_rss_ratio:1.09
allocator_rss_bytes:3837952
rss_overhead_ratio:0.97
rss_overhead_bytes:-1232896
mem_fragmentation_ratio:1.10
mem_fragmentation_bytes:4373192
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:1053132
mem_aof_buffer:0
mem_allocator:jemalloc-5.1.0
active_defrag_running:0
lazyfree_pending_objects:0
复制代码

 

posted @   翠微  阅读(27)  评论(0编辑  收藏  举报
(评论功能已被禁用)
相关博文:
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· SQL Server 2025 AI相关能力初探
· AI编程工具终极对决:字节Trae VS Cursor,谁才是开发者新宠?
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
历史上的今天:
2021-10-10 【IntelliJ Idea】git commit 显示 Local Changes
2020-10-10 【Spring Boot】Filter
点击右上角即可分享
微信分享提示