美文网首页
20201119-Redis info解读

20201119-Redis info解读

作者: 爱钓鱼的码农 | 来源:发表于2020-11-18 10:55 被阅读0次

Server 有关Redis服务器的常规信息

redis_version:3.0.3
redis_git_sha1:377e3e95
redis_git_dirty:1
redis_build_id:3a41f6c1d94f8c8d
redis_mode:cluster (The server's mode ("standalone", "sentinel" or "cluster"))
os:Linux 3.10.0-693.el7.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll (Redis使用的事件循环机制)
gcc_version:4.8.5
process_id:166512
run_id:c1807a45f65d8daa5994d939ca139e3962ff7e75(Redis服务器随机生成的UUID在Sentinel和Cluster模式使用)
tcp_port:7050
uptime_in_seconds:5515961
uptime_in_days:63
hz:10
lru_clock:11776283
config_file:/home/redis/redis3.0_7050/conf/redis.conf

Clients 有关Redis服务器的常规信息

connected_clients:15
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

Memory 内存消耗相关信息

used_memory:54643266912
used_memory_human:50.89G
used_memory_rss:63742263296
used_memory_peak:62462280096
used_memory_peak_human:58.17G
used_memory_lua:36864
mem_fragmentation_ratio:1.17(used_memory_rss/used_memory的比值)
mem_allocator:jemalloc-3.6.0

Persistence RDB和AOF相关信息

loading:0
rdb_changes_since_last_save:12970011 (从最近一次dump到现在发生改变的值)
rdb_bgsave_in_progress:0(是否有dump操作进行中包含save、bgsave)
rdb_last_save_time:1605554058(最近一次完成dump的具体时间戳)
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:256
rdb_current_bgsave_time_sec:-1
aof_enabled:0(AOF策略是否开启)
aof_rewrite_in_progress:0
aof_rewrite_scheduled:0
aof_last_rewrite_time_sec:-1
aof_current_rewrite_time_sec:-1
aof_last_bgrewrite_status:ok
aof_last_write_status:ok

Stats 一般统计信息

total_connections_received:195311
total_commands_processed:4295336089(递增值,Redis-Sever累计收到的命令值)
instantaneous_ops_per_sec:199(每秒执行的命令数可做Redis-QPS参考)
total_net_input_bytes:301811751455
total_net_output_bytes:59422894888
instantaneous_input_kbps:14.82
instantaneous_output_kbps:4.24
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0(过期key总数)
evicted_keys:0(由于超过最大内存被淘汰的key总数)
keyspace_hits:2403378811
keyspace_misses:163528916
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:2512821(最近一次fork操作耗时时间微秒)
migrate_cached_sockets:0

Replication 主/副本复制信息

role:slave
master_host:xxxxx
master_port:xxxx
master_link_status:up(主从同步连接状态up、down)
master_last_io_seconds_ago:0
master_sync_in_progress:0 (全量同步是否存在)
slave_repl_offset:112166015775(主从同步偏移量,类似于MySQL binlog position)
slave_priority:100(实例作为故障转移时的权重)
slave_read_only:1
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0 (master的backlog是否开启)
repl_backlog_size:1048576(循环写backlog buffer的大小默认为1M,太小容易被覆盖导致数据不一致则需要重新全量同步)
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0

CPU CPU消耗统计信息

used_cpu_sys:15725.25
used_cpu_user:37875.51
used_cpu_sys_children:598.43
used_cpu_user_children:12044.41

Cluster Redis群集信息

cluster_enabled:1

Keyspace Database related statistics

db0:keys=189328595,expires=189328595,avg_ttl=0

相关文章

  • 20201119-Redis info解读

    Server 有关Redis服务器的常规信息 redis_version:3.0.3redis_git_sha1...

  • 2020-11-16-RedisQPS采集

    采集策略 command info中可获取Redis的相关动态参数。Info解读[https://redis.io...

  • Systrace 之 CPU info解读

    和你一起终身学习,这里是程序员 Android 本篇文章主要介绍 Android 开发中的部分知识点,通过阅读本篇...

  • iOS开发 info.plist的解读

    1.Localiztion native development region --- CFBundleDevel...

  • Info

    藍燈 google帳號:duguqiubai270@gmail.com

  • info

    link测试

  • info

    2020-01-01 00:00:00 huihe ``` 网络NSAppTransportSecurity

  • Info

    Event: Yourchinaguy Wehustle Technode Xnode IPWS Amcham ...

  • Info

    这里会写一下我在香港读研一年的学习经历和总结,我学习的专业是信息技术管理(ITM)。和在上学之前的想象不太一样(可...

  • info

    2020-01-01 00:00:00 hh

网友评论

      本文标题:20201119-Redis info解读

      本文链接:https://www.haomeiwen.com/subject/wmrfiktx.html