redis-cli-p 6379 infoコマンド詳細
5957 ワード
サーバの基本情報
# redis
redis_version:5.0.3
# redis git
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:da69b07a37c06dc8
# (“ ”,“ ” “ ”)
redis_mode:standalone
#
os:Linux 3.10.0-514.el7.x86_64 x86_64
# 64
arch_bits:64
#
multiplexing_api:epoll
atomicvar_api:atomic-builtin
gcc_version:4.8.5
# ID
process_id:10040
# (sentinel )
run_id:df903681f11f712523e0615cd4c7e45afbf500b6
#
tcp_port:6379
#
uptime_in_seconds:42593
# ( )
uptime_in_days:0
#
hz:10
configured_hz:10
# LRU ( )
lru_clock:7473903
#
executable:/usr/local/redis/./bin/redis-server
#
config_file:/usr/local/redis/conf/redis_6379.conf
Clientsクライアント接続情報
#
connected_clients:1
#
client_recent_max_input_buffer:2
#
client_recent_max_output_buffer:0
# ( )
blocked_clients:0
Memoryメモリ情報
# ( )
used_memory:854280
# ( )
used_memory_human:834.26K
#
used_memory_rss:8388608
used_memory_rss_human:8.00M
#
used_memory_peak:854280
used_memory_peak_human:834.26K
#
used_memory_peak_perc:100.15%
#
used_memory_overhead:840838
#
used_memory_startup:791032
#
used_memory_dataset:13442
#
used_memory_dataset_perc:21.25%
# ( )
allocator_allocated:844856
allocator_active:1011712
allocator_resident:3665920
#
total_system_memory:1041199104
total_system_memory_human:992.96M
# Lua
used_memory_lua:37888
used_memory_lua_human:37.00K
#
used_memory_scripts:0
used_memory_scripts_human:0B
number_of_cached_scripts:0
#
maxmemory:0
maxmemory_human:0B
#
maxmemory_policy:noeviction
#
allocator_frag_ratio:1.20
allocator_frag_bytes:166856
allocator_rss_ratio:3.62
allocator_rss_bytes:2654208
rss_overhead_ratio:2.29
rss_overhead_bytes:4722688
mem_fragmentation_ratio:10.33
mem_fragmentation_bytes:7576576
mem_not_counted_for_evict:0
mem_replication_backlog:0
mem_clients_slaves:0
mem_clients_normal:49694
mem_aof_buffer:0
# ,
mem_allocator:jemalloc-5.1.0
#
active_defrag_running:0
#
lazyfree_pending_objects:0
Persistence永続化関連
# Redis
loading:0
# ,RDB
rdb_changes_since_last_save:2
# Redis RDB
rdb_bgsave_in_progress:0
# RDB
rdb_last_save_time:1550935182
# RDB
rdb_last_bgsave_status:ok
# RDB ( )
rdb_last_bgsave_time_sec:-1
# RDB ( )
rdb_current_bgsave_time_sec:-1
# RBD
rdb_last_cow_size:0
# AOF
aof_enabled:1
# AOF
aof_rewrite_in_progress:0
# RDB , AOF 。
aof_rewrite_scheduled:0
# AOF ,
aof_last_rewrite_time_sec:-1
# AOF ( )
aof_current_rewrite_time_sec:-1
# AOF
aof_last_bgrewrite_status:ok
# AOF
aof_last_write_status:ok
# AOF ( )
aof_last_cow_size:0
# AOF
aof_current_size:77
# AOF
aof_base_size:77
# RDB , AOF 。
aof_pending_rewrite:0
# AOF
aof_buffer_length:0
# AOF
aof_rewrite_buffer_length:0
# fsync
aof_pending_bio_fsync:0
# fsync
aof_delayed_fsync:0
#
# loading_start_time:
# loading_total_bytes:
# loading_loaded_bytes:
# loading_loaded_perc:
# loading_eta_seconds:ETA
Statsモニタ情報を試してみる
# Redis
total_connections_received:1
# Redis
total_commands_processed:1
#
instantaneous_ops_per_sec:0
# ,
total_net_input_bytes:34
# ,
total_net_output_bytes:7
# , kbps
instantaneous_input_kbps:0.00
# , kbps
instantaneous_output_kbps:0.00
# Redis maxclients
rejected_connections:0
# Redis
sync_full:0
# Redis PSYNC
sync_partial_ok:0
# Redis PSYNC
sync_partial_err:0
#
expired_keys:0
expired_stale_perc:0.00
expired_time_cap_reached_count:0
# maxmemory ,
evicted_keys:0
#
keyspace_hits:1
#
keyspace_misses:0
# /
pubsub_channels:0
# /
pubsub_patterns:0
# fork ,
latest_fork_usec:0
#
migrate_cached_sockets:0
# key key ( )
slave_expires_tracked_keys:0
#
active_defrag_hits:0
#
active_defrag_misses:0
# key
active_defrag_key_hits:0
# key
active_defrag_key_misses:0
Replication主従レプリケーション関連情報
# master slave
role:master
# Redis
connected_slaves:0
# master id
master_replid:6ea01bd968c7f14cb6de138462ddaf11930a4269
master_replid2:0000000000000000000000000000000000000000
#
master_repl_offset:0
second_repl_offset:-1
# Redis
repl_backlog_active:0
#
repl_backlog_size:1048576
#
repl_backlog_first_byte_offset:0
#
repl_backlog_histlen:0
#
# master_host:Redis IP
# master_port:Redis TCP
# master_link_status: ( /
# master_last_io_seconds_ago: Redis ,
# master_sync_in_progress: Redis
# master_sync_left_bytes: , ,
# master_sync_last_io_seconds_ago: SYNC , I/O ,
# master_link_down_since_seconds: ,
CPU情報
# CPU
used_cpu_sys:26.932586
# CPU
used_cpu_user:36.964424
# CPU
used_cpu_sys_children:0.000000
# CPU
used_cpu_user_children:0.000000
Clusterクラスタ情報
# ,
cluster_enabled:0
Keyspaceキーストレージスペース情報
# key 、 key , key
db0:keys=2,expires=0,avg_ttl=0