歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux編程 >> Linux編程 >> redis info 參數說明

redis info 參數說明

日期:2017/3/1 10:03:42   编辑:Linux編程
redis_version:2.4.16 # Redis 的版本
redis_git_sha1:00000000
redis_git_dirty:0
arch_bits:64
multiplexing_api:epoll
gcc_version:4.1.2 #gcc版本號
process_id:10629 # 當前 Redis 服務器進程id
uptime_in_seconds:145830 # 運行時間(秒)
uptime_in_days:1 # 運行時間(天)
lru_clock:947459
used_cpu_sys:0.02
used_cpu_user:0.02
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
connected_clients:1 # 連接的客戶端數量
connected_slaves:0 # slave的數量
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
used_memory:832784 # Redis 分配的內存總量
used_memory_human:813.27K
used_memory_rss:1896448 # Redis 分配的內存總量(包括內存碎片)
used_memory_peak:832760
used_memory_peak_human:813.24K #Redis所用內存的高峰值
mem_fragmentation_ratio:2.28 # 內存碎片比率
mem_allocator:jemalloc-3.0.0
loading:0
aof_enabled:0 #redis是否開啟了aof
changes_since_last_save:0 # 上次保存數據庫之後,執行命令的次數
bgsave_in_progress:0 # 後台進行中的 save 操作的數量
last_save_time:1351506041 # 最後一次成功保存的時間點,以 UNIX 時間戳格式顯示
bgrewriteaof_in_progress:0 # 後台進行中的 aof 文件修改操作的數量
total_connections_received:1 # 運行以來連接過的客戶端的總數量
total_commands_processed:1 # 運行以來執行過的命令的總數量
expired_keys:0 # 運行以來過期的 key 的數量
evicted_keys:0 #運行以來刪除過的key的數量
keyspace_hits:0 # 命中 key 的次數
keyspace_misses:0 # 不命中 key 的次數
pubsub_channels:0 # 當前使用中的頻道數量
pubsub_patterns:0 # 當前使用的模式的數量
latest_fork_usec:0
vm_enabled:0 # 是否開啟了 vm (1開啟 0不開啟)
role:master #當前實例的角色master還是slave
db0:keys=183,expires=0 # 各個數據庫的 key 的數量,以及帶有生存期的 key 的數量
Copyright © Linux教程網 All Rights Reserved