Redis of info all command parsing

127.0.0.1:8376> All info
# Server Information Server ---
redis_version: 2.8.20 - redis server version
redis_git_sha1: 00000000 - Git SHA1
redis_git_dirty: 0 - Git Dirty Flag
redis_build_id: b873423ea3d4fc14 - Redis Build the above mentioned id
redis_mode: standalone - redis operating modes: standalone or Cluster
os: Linux x86_64 3.10.0-327.18.2.el7.x86_64 - Redis operating system where
arch_bits: 64 - Redis core architecture: 32-bit or 64-bit
multiplexing_api: epoll - Redis event handling mechanism used
gcc_version: 4.8.5 - gcc compiler version Redis used when
process_id: 5786 - pid Redis server process
run_id: 9ec59b0b8f8f3e819463b8d28fca9ba89abce933 - random identifier (Redis server for sentinel and Cluster)
TCP_PORT: 8376 - Redis server listening port of
uptime_in_seconds: 6728387 - Redis server starts the total duration (in seconds)
uptime_in_days: 77 - Total long Redis server starts, the unit is the day
hz: 10 - Redis internal scheduling (closed timeout client, delete the expired key, etc.) frequency, the procedure laid down serverCron run 10 times per second
lru_clock: 13372390 - increment clock for LRU management, the execution clock time 100ms. (Reference parameter Hz)
config_file: /home/hadoop/redis_8376/redis.conf - the Redis profile path


Client Information # Clients --- connected
connected_clients: 193 - end number of customers connected (not including client slave connection).
client_longest_output_list: 0 - currently connected clients longest output list, with the maximum observed omem client list order field.
client_biggest_input_buf: 0 - Maximum client input buffer is currently connected, and qbuf qbuf-free observation field with two client list command maximum value.
blocked_clients: 0 - number of clients are waiting for blocking command (BLPOP, BRPOP, BRPOPLPUSH) of.


# Memory - memory information
used_memory: 11750252808 --Redis total amount of allocated memory (in bytes)
used_memory_human: 10.94 g of - a human-readable amount of memory
used_memory_rss: 16637059072 - angle of the operating system, redis total amount of allocated memory. Consistent with the top command.
used_memory_peak: 13654200496 - Redis peak memory consumption
used_memory_peak_human: 12.72G - Redis human readable memory consumption peak
used_memory_lua: 35840 - LUA engine used memory size (bytes)
mem_fragmentation_ratio: 1.42 - used_memory_rss / used_memory. Use of less than 1 indicates a swap, greater than 1 indicates more fragments
mem_allocator: jemalloc-3.6.0 - the compile-time memory allocator used Redis


# Persistence - Persistence and information rdb aof of
loading: 0 - the server is loaded persistent file
rdb_changes_since_last_save: 10493799192 - from the number of the last successfully generated rdb file, write commands, write the number of the existing command is not persistent
rdb_bgsave_in_progress: 0 - rdb file server is being created.
rdb_last_save_time: 1516593579 - rdb file to create a successful long the nearest
rdb_last_bgsave_status: ok - the last persistence rdb file is successful
rdb_last_bgsave_time_sec: 0 - Last successfully generated in seconds rdb file time-consuming
rdb_current_bgsave_time_sec: -1 - if rdb file server is created, this is currently created in seconds rdb file has been spent.
aof_enabled: 0 - Has opened the AOF of
aof_rewrite_in_progress: 0 - AOF of whether the rewrite operation is in progress.
aof_rewrite_scheduled: 0 - rewrite the mission plan, when the client sends bgrewriteaof instruction, if the current rewrite child process is executing, it will become a client request bgrewriteaof scheduled task, perform the rewrite after the child process to be aof 
aof_last_rewrite_time_sec: -1 - the last AOF rewrite spent long
aof_current_rewrite_time_sec: -1 - if the rewrite operation is being performed, as used herein, is the time
aof_last_bgrewrite_status: ok - bgrewrite last operating state
aof_last_write_status: ok - the last write state AOF


# Stats --- statistics
total_connections_received: 19534660 - The number of newly created connection, if the newly created too many connections, excessive creation and destruction links affect performance, indicating a serious or terminal connection pool using the link in question.
total_commands_processed: 14796974293 - Number of command processing redis
instantaneous_ops_per_sec: 16301 - redis current QPS
total_net_input_bytes: 661 322 565 150 - number of bytes in the inlet flow redis network
total_net_output_bytes: 695291247545 - Number Byte redis network outlet flow
instantaneous_input_kbps: 921.09 - redis Network inlet KPS
instantaneous_output_kbps: 984.72 - Redis network egress KPS
rejected_connections: 0 - the number of connections rejected
sync_full: 1 - the number of master-slave synchronization completely successful
sync_partial_ok: 0 - number of times from the main part of the synchronization successful
sync_partial_err: 0 - master-slave synchronization failure part number
expired_keys: 1049725658 - number of key operational since expired
evicted_keys: 0 - operation excluded since the number of key
keyspace_hits: 2756196607 - hit count
keyspace_misses: 0 - No Shots Hit
pubsub_channels: 0 - number of channels currently in use
pubsub_patterns: 0 - number mode currently in use
latest_fork_usec: 1284 - the most recent operation took several fork blocking redis process, in microseconds


# Replication - Information from the master
role: master - role instances, master or slave
connected_slaves:. 1 - an example of the number of connections of the slave
slave0: ip = 172.22.0.58, port = 8376, state = online, offset = 626043133432 , lag = 1 - the information from the library
master_repl_offset: 626043468677 - master-slave synchronization offset, this offset value if above the same, shows no delay
repl_backlog_active: 1 - buffer replication backlog is turned
repl_backlog_size: 1048576 - copy buffer size backlog
repl_backlog_first_byte_offset: 626042420102 - copy buffer offset size
repl_backlog_histlen: 1048576 - this value is equal master_repl_offset - repl_backlog_first_byte_offset, this value does not exceed the size of repl_backlog_size


# CPU --- CPU information
used_cpu_sys: 165529.61 - all the main process in Redis core state occupied by the CPU time
used_cpu_user: 129734.81 - all Redis main process in user mode CPU time occupied by
used_cpu_sys_children: 0.00 - background process in the nuclear mind occupied by the CPU time
used_cpu_user_children: 0.00 - daemon occupied by the CPU time in user mode


# Commandstats - statistics on various commands
# calls: Each command execution times
# usec: long (in microseconds) when the total consumption of the CPU
# usec_per_call: the average length of time consumed by each CPU (in microseconds)
cmdstat_setnx: Calls = 1058600944, usec = 3,625,955,232, usec_per_call = 3.43
cmdstat_del: Calls = 20 is, usec = 27367, usec_per_call = 1368.35
cmdstat_setbit: Calls = 5041217639, usec = 3,122,287,725, usec_per_call = 0.62
cmdstat_getrange: Calls =. 1, usec = 1690, usec_per_call = 1690.00
cmdstat_zincrby: Calls = 1,676,839,306, usec = 50,540,232,309, usec_per_call = 30.14
cmdstat_zcount: Calls = 29,906,442, usec = 104 796 077, usec_per_call = 3.50
cmdstat_select: Calls = 4215899299, usec = 5929025928, usec_per_call = 1.41
cmdstat_expire: Calls = 2726290157, usec = 7765181091, usec_per_call = 2.85
cmdstat_keys: calls = 77, usec = 88002, usec_per_call = 1142.88
cmdstat_scan:calls=47677,usec=15868864,usec_per_call=332.84
cmdstat_ping:calls=41455097,usec=58940755,usec_per_call=1.42
cmdstat_psync:calls=1,usec=1461,usec_per_call=1461.00
cmdstat_replconf:calls=6717280,usec=10878864,usec_per_call=1.62
cmdstat_flushdb:calls=20,usec=999516,usec_per_call=49975.80
cmdstat_info:calls=326,usec=39375,usec_per_call=120.78
cmdstat_bitcount:calls=7,usec=167648,usec_per_call=23949.71


# Keyspace
db0:keys=400,expires=0,avg_ttl=0

Reference: https://blog.csdn.net/mytobaby00/article/details/79877106

Guess you like

Origin www.cnblogs.com/wx170119/p/11857885.html