Info View Redis Server details

Source: Internet
Author: User
Tags redis server

#主要查看参数:# serveruptime_in_seconds:83904            #redis服务运行时间uptime_in_days:0                    #redis运行天数 # clients connected_clients:1                 #已连接的客户端数量 (excluding connections from slave servers) blocked_clients:0                   #正在等待 The number of clients for the & Blocking command (Blpop/brpop/brpoplpush) # memory used_memory_human:790.88k           #人类可读的格式, showing the total memory allocated by Redis used_memory_peak_human:979.51k    # Human readable format displays maximum memory consumption value peak mem_fragmentation_ratio:7.33       #used_memory_ The ratio of RSS (actual memory used in the system) and used_memory (System allocated memory). # stats           total_connections_received:96840        #redis服务已接收的连接数请求total_commands_processed:857679        # #已执行的命令数instantaneous_ops_per_sec:2            # #每秒执行的命令数量rejected_connections:0                 # #因为最大客户端数量限制而被拒绝的连接请求数量expired_keys:0                         ## The number of database keys that are automatically deleted because they expire evicted_keys:0                         # #因为最大内存容量限制而被驱逐 (evict) Number of keys keyspace_hits:0                         ##  number of successful database keys keyspace_misses:190208                 # #查找数据库键失败的次数 # persistence     rdb_changes_since_last _save:0         # #距离最近一次成功创建持久化文件之后, after how many seconds Aof_last_bgrewrite_ status:ok          # #一个标志值, records the most recent creation  AOF  The result of the file is success or failure 127.0.0.1:6379> info# serverredis_version:2.8.19redis_git_sha1:00000000redis_git_ Dirty:0redis_build_id:c0359e7aa3798aa2redis_mode:standaloneos:linux 3.10.0-123.el7.x86_64 x86_64arch _BITS:64MULTIPLEXING_API:EPOLLGCC_VERSION:4.8.3PROCESS_ID:32701RUN_ID: dfc0c9b96cc2ecb0fd7fbdbdf116ddde63690b4ctcp_port:6379                    #启用端口6379uptime_in_seconds:83904          #redis服务运行时间uptime_in_days:0                 #redis运行天数hz: 10lru_clock:13788489config_ # clients                 # #已连接的客户端信息connected_clients:1                 #已连接的客户端数量 (excluding connections from slave servers) client_longest_output_list:0        #当前连接的客户端中, the most common output list client_biggest_input_buf:0        # The largest input cache in the currently connected client blocked_clients:0                   #正在等待 & Blocking Command (Blpop/brpop/brpoplpush) number of clients # memory                        # #内存使用信息used_memory:809856                  #redis分配的内存总量, Unit Byte (byte) used_memory_human:790.88k           #人类可读的格式, showing the total memory allocated by Redis used_memory_rss:5935104            #redis在系统中的常驻内存, That is, the allocated memory (consistent with the results of command output such as top, PS, etc.) used_memory_peak:1003016            #redis的内存消耗峰值, max consumption value used_memory_peak_human:979.51k     #人类可读格式显示最大内存消耗值峰值used_memory_ lua:35840             # #lua引擎所使用的内存大小, Unit byte mem _fragmentation_ratio:7.33        # #used_memory_rss (actual memory used in the system) and Used_ The ratio of memory (system-allocated RAM).     # #理想情况下, Used_memory_rss is a little taller than userd_memory.     # #若rss  > used, and the difference is large, indicating the presence (internal or external) memory fragmentation     # #若used  > rss, which means that part of Redis's memory is swapped out to swap space by the operating system, where requests can have a noticeable delay.     # #当redis释放内存时, the allocator may or may not return the memory to a system. If not returned to the system, it will cause used_memory < userd_memory_rss.    # #经常查看used_memory_peak, Determine memory usage mem_allocator:jemalloc-3.6.0# persistence        # #RDB和AOF的相关信息loading:0rdb_changes_since_last_save:0         # #距离最近一次成功创建持久化文件之后, after how many seconds rdb_bgsave_in_progress:0rdb_last_save_time : 1473322377rdb_last_bgsave_status:okrdb_last_bgsave_time_sec:-1rdb_current_bgsave_time_sec:-1aof_enabled:0aof_ Rewrite_in_progress:0aof_rewrite_scheduled:0aof_last_rewrite_time_sec:-1aof_current_rewrite_time_sec:-1aof_ last_bgrewrite_status:ok            # #一个标志值, Records the success or failure of the most recent create  AOF  file aof_last_write_status:ok# stats             # #一般统计信息total_connections_received:96840          #redis服务已接收的连接数请求total_commands_processed:857679         # #已执行的命令数instantaneous_ops_per_sec:2             # #每秒执行的命令数量total_net_input_Bytes:38715733         total_net_output_bytes :4129604instantaneous_input_kbps:0.08instantaneous_output_kbps:0.06rejected_connections:0                 # #因为最大客户端数量限制而被拒绝的连接请求数量sync_ full:0sync_partial_ok:0sync_partial_err:0expired_keys:0                         ## The number of database keys that are automatically deleted because they expire evicted_keys:0                         # #因为最大内存容量限制而被驱逐 (evict) Number of keys keyspace_hits:0                         ##  number of successful database keys keyspace_misses:190208                 # #查Number of failed to find database keys pubsub_channels:0pubsub_patterns:0latest_fork_usec:0# replication             # #redis主从复制信息role:master                            # #集群中的角色connected_slaves: 0master_repl_offset:0repl_backlog_active:0repl_backlog_size:1048576repl_backlog _first_byte_offset:0repl_backlog_histlen:0# cpu                        # #cpu使用统计信息used_cpu_sys :56.14                      #redis消耗的系统cpu     used_cpu_user:21.72                     #redis消耗的用户cpu         used_cpu_sys_children:0.00            # System cpuused_cpu_user_children:0.00           # consumed by background processes User Cpu# keyspace the background process consumes


Info View Redis Server details

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.