Redis Learning (6) View Redis status, and the difference between RDB and aof two persistence scenarios

Source: Internet
Author: User

The following information can be obtained from the console input Info command return ( or Redis clients to find information separately )

redis_version:3.2.3Server versionredis_git_sha1:00000000
redis_git_dirty:0
Redis_build_id:78f5751fe6f1a0f3
Redis_mode:standalone
Os:linux 2.6.32-431.23.3.el6.centos.plus.x86_64 x86_64
Arch_bits:64
Multiplexing_api:epoll
gcc_version:4.4.7
process_id:8318Process Number
run_id:ec21d1989ff2ec31e7733f7a8350e22400813d6c
tcp_port:6376
uptime_in_seconds:830 Reidsnumber of seconds to start
uptime_in_days:0
Hz:10
lru_clock:13600938
Executable:/data/web/huodong/redis-3.2.3_6376/./src/redis-server
Config_file:/data/web/huodong/redis-3.2.3_6376/redis.conf


# Clients
Connected_clients:2number of externally connected clients
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0


# Memory
used_memory:847704Redis Memory
used_memory_human:827.84k
used_memory_rss:8065024account for operating system memory
used_memory_rss_human:7.69m
used_memory_peak:847704Peak Memory
used_memory_peak_human:827.84k
total_system_memory:8252796928
total_system_memory_human:7.69g
used_memory_lua:37888
used_memory_lua_human:37.00k
maxmemory:0
maxmemory_human:0b
Maxmemory_policy:noeviction
mem_fragmentation_ratio:9.51
mem_allocator:jemalloc-4.0.3


# persistence
loading:0whether to persist files
rdb_changes_since_last_save:0How many seconds before the last persistence
rdb_bgsave_in_progress:0whether the Rdb file is being created
rdb_last_save_time:1473217900Timestamp of the most recent successful creation of the Rdb file
Rdb_last_bgsave_status:okresults of the most recent creation of the Rdb file
Rdb_last_bgsave_time_sec:-1last time the Rdb file was created
Rdb_current_bgsave_time_sec:-1
aof_enabled:0
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:2number of link requests that the server has accepted
Total_commands_processed:17number of commands that the server has executed
instantaneous_ops_per_sec:0the number of commands per second that the server will customize
total_net_input_bytes:412
total_net_output_bytes:5934183
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0number of link requests rejected because of maximum client number limit
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:0number of successful lookup database keys
keyspace_misses:0number of failed lookup database keys
pubsub_channels:0current number of channels subscribed
pubsub_patterns:0number of modes currently subscribed
latest_fork_usec:0
migrate_cached_sockets:0


# Replication
Role:master
connected_slaves:0
master_repl_offset:0
repl_backlog_active:0
repl_backlog_size:1048576
repl_backlog_first_byte_offset:0
repl_backlog_histlen:0


# CPU
used_cpu_sys:0.25
used_cpu_user:0.15
used_cpu_sys_children:0.00
used_cpu_user_children:0.00


# Cluster
cluster_enabled:0


# Keyspace
Db1:keys=49,expires=0,avg_ttl=0

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.