redis-cli -h 127.0.0.1 -p 6383
127.0.0.1:6383> info
# Server
redis_version:3.2.8 #
redis_git_sha1:00000000 #Git SHA1
redis_git_dirty:0 #git dirty flag
redis_build_id:28944931223a3e29 #
redis_mode:standalone #server , or
os:Linux 3.10.0-327.el7.x86_64 x86_64 #redis ,win os:Windows
arch_bits:64 #
multiplexing_api:epoll #
gcc_version:4.8.5 # Redis GCC
process_id:1119 # ID
run_id:b6fb9282d300fca46d11aacd9e0c1412ae0f8fdc #Redis (Sentinel )
tcp_port:6383 #TCP/IP , 6379
uptime_in_seconds:8267711 #redis
uptime_in_days:95 #redis
hz:10 #
lru_clock:15246345 # , LRU
executable:/opt/apps/redis-3.2.8/bin/redis-server #
config_file:/etc/redis-6383.conf #
# Clients
connected_clients:1 #
client_longest_output_list:0 # ,
client_biggest_input_buf:0 # ,
blocked_clients:0 # (BLPOP、BRPOP、BRPOPLPUSH)
# Memory
used_memory:1056816 # Redis , (byte)
used_memory_human:1.01M #
used_memory_rss:1372160 # , Redis
used_memory_rss_human:1.31M #
used_memory_peak:1262192 #Redis ( )
used_memory_peak_human:1.20M #
total_system_memory:16658374656 #
total_system_memory_human:15.51G #
used_memory_lua:37888 #Lua
used_memory_lua_human:37.00K #
maxmemory:0 #Redis
maxmemory_human:0B #
maxmemory_policy:noeviction # maxmemory
mem_fragmentation_ratio:1.30
mem_allocator:jemalloc-4.0.3 #
# Persistence AOF and RDB
loading:0 #
rdb_changes_since_last_save:0 # rdb ,
rdb_bgsave_in_progress:0 # rdb
rdb_last_save_time:1558698904 # rdb
rdb_last_bgsave_status:ok # rdb
rdb_last_bgsave_time_sec:0 # rdb
rdb_current_bgsave_time_sec:-1 #
aof_enabled:0 # aof
aof_rewrite_in_progress:0 # aof rewrite
aof_rewrite_scheduled:0 #rewrite , bgrewriteaof , rewrite , bgrewriteaof , aof rewrite
aof_last_rewrite_time_sec:-1 #
aof_current_rewrite_time_sec:-1 # , ,
aof_last_bgrewrite_status:ok # bgrewriteaof
aof_last_write_status:ok # aof
# Stats
total_connections_received:45682
total_commands_processed:78928 #redis
instantaneous_ops_per_sec:0 #redis qps
total_net_input_bytes:8335445 #redis
total_net_output_bytes:184543199 #redis
instantaneous_input_kbps:0.00 #redis kps
instantaneous_output_kbps:0.00 #redis kps
rejected_connections:0 # ,redis maxclients ,
sync_full:0 #
sync_partial_ok:0 #
sync_partial_err:0 #
expired_keys:232 # key
evicted_keys:0
keyspace_hits:57089 #
keyspace_misses:3434 #
pubsub_channels:0 #
pubsub_patterns:0 #
latest_fork_usec:266 # fork redis ,
migrate_cached_sockets:0 #
# Replication
role:master # master or slave
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:4051.70 # redis CPU
used_cpu_user:1303.56 # redis CPU
used_cpu_sys_children:0.42 # CPU
used_cpu_user_children:0.37 # CPU
# Cluster
cluster_enabled:0 # ,0
# Keyspace
db0:keys=10,expires=1,avg_ttl=2089006000