Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Introduction to info of Redis

2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

Server

Redis_version:2.6.9

Redis_git_sha1:00000000

Redis_git_dirty:0

Redis_mode:standalone

Os:Linux 3.4.9-gentoo x86_64

Arch_bits:64

Event Loop Mechanism of multiplexing_api:epoll # redis

Gcc_version:4.6.3

Process_id:18926

Run_id:df8ad7574f3ee5136e8be94aaa6602a0079704cc # identifies the random value of redis server

Tcp_port:6379

Time for uptime_in_seconds:120 # redis server to start (in s)

Time for uptime_in_days:0 # redis server to start (in d)

Lru_clock:321118 # Clock incrementing every minute, for LRU management TODO doesn't know how to calculate

Clients

Number of clients connected to connected_clients:3 #

Client_longest_output_list:0 # maximum output list of current client connections TODO

Client_biggest_input_buf:0 # maximum input buffer TODO for current client connection

Blocked_clients:0 # number of clients blocked

Memory

Used_memory:573456 # uses memory in B

Used_memory_human:560.02K # human read shows using memory

Memory allocated to redis by the used_memory_rss:1798144 # system (i.e. resident memory)

Peak size of used_memory_peak:551744 # memory usage

Used_memory_peak_human:538.81K # human read shows peak memory usage

Used_memory_lua:31744 # memory used by the lua engine

Mem_fragmentation_ratio:3.14 # used_memory_rss/used_memory ratio. In general, used_memory_rss is slightly higher than used_memory. When there are more memory fragments, the mem_fragmentation_ratio will be larger, which can reflect whether there are many memory fragments.

Mem_allocator:jemalloc-3.3.1 # memory allocator

Persistence

# #

Two persistence mechanisms of rdb and Aofevent Redis

#

Rdb operates by setting the number of changes in the time of the save through the configuration file to save the last changed data to db after reaching the set target. If crash occurs in the middle, the data will be lost. This strategy is called a snapshot.

#

Aof continuously writes writes to a log-like file, but the impact should be divided into appendfsync always and appendfsync eversec. The former is synchronized with each write and has high data security, but especially consumes performance. The latter synchronizes once per second. If crash occurs, 1s of data may be lost # #

Loading:0 #

Rdb_changes_since_last_save:0 # changes to rdb since the last dump

Rdb_bgsave_in_progress:0 # identifies whether rdb save is in progress

Rdb_last_save_time:1366359865 # timestamp of the last save

Rdb_last_bgsave_status:ok # Last save operation status

Rdb_last_bgsave_time_sec:-1 # time used by the last rdb save operation (in s)

Rdb_current_bgsave_time_sec:-1 # if the rdb save operation is in progress, the time used is whether aof_enabled:0 # enables aof. It is not enabled by default.

Aof_rewrite_in_progress:0 # identifies whether the rewrite operation of aof is in progress

Aof_rewrite_scheduled:0 # identifies whether it will be executed after the end of the rdb save operation

Aof_last_rewrite_time_sec:-1 # time used by the last rewrite operation (in s)

Aof_current_rewrite_time_sec:-1 # if the rewrite operation is in progress, record the time used

Aof_last_bgrewrite_status:ok # status of the last rewrite operation some info information added since aof was enabled aof_current_size:0 # aof current size

Aof_base_size:0 # the size of the last startup of aof or rewrite

Aof_pending_rewrite:0 # same as aof_rewrite_scheduled above

Size of aof_buffer_length:0 # aof buffer

Size of aof_rewrite_buffer_length:0 # aof rewrite buffer

Aof_pending_bio_fsync:0 # number of fsync tasks waiting in the backend IO queue

Aof_delayed_fsync:0 # delayed fsync counter TODOStats

Total number of total_connections_received:7 # connections since startup

Total number of total_commands_processed:7 # commands that have been run since startup

Instantaneous_ops_per_sec:0 # commands executed per second

Rejected_connections:0 # the number of connections rejected due to the maximum client connection book limit

Expired_keys:0 # Total number of key expired since startup

Evicted_keys:0 # the number of keys expelled because of memory size restrictions

Keyspace_hits:0 # the number of key successfully found in main dictionary (todo)

Keyspace_misses:0 # same as above, the number of key not found

Pubsub_channels:0 # publish / subscribe channels

Pubsub_patterns:0 # publish / subscribe modes

Latest_fork_usec:0 # time used by the last fork operation (in ms)

# #

Pubsub is a way of message transmission, which is divided into channel and mode. The message does not support persistence. After the message is interrupted, the previous message will be lost. The channel is designated by SUBSCRIBE to subscribe to a fixed channel. The mode refers to subscribing to relevant channels that match a given pattern through PSUBSCRIBE pattern matching.

# #

Replicationrole:master # role

Number of slave libraries connected by connected_slaves:1 #

Slave0:127.0.0.1,7777,online

Role:slave

Master_host:127.0.0.1

Master_port:6379

Master_link_status:up

Master_last_io_seconds_ago:4

Master_sync_in_progress:0 # indicates that the master redis is synchronizing to the slave redis

Slave_priority:100

Slave_read_only:1

Connected_slaves:0

CPU

Sys cpu usage of used_cpu_sys:0.00 # redis server

User cpu usage of used_cpu_user:0.12 # redis server

Sys cpu utilization of used_cpu_sys_children:0.00 # background processes

User cpu utilization of used_cpu_user_children:0.00 # background processes

Keyspace

Db0:keys=2,expires=0

Db1:keys=1,expires=0

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report