Redis 버전 확인


레디스 클라이언트에서 INFO 명령어를 활용해 각종 정보를 확인할 수 있다. redis 버전은 맨 위에 있다.

다음은 try.redis.io에서 INFO 명령어를 입력했을 때 나오는 정보이다.



redis> INFO

# Server
redis_version:3.1.999
redis_git_sha1:ffd6637e
redis_git_dirty:0
redis_build_id:e0fb77e28c30474b
redis_mode:standalone
os:Linux 4.4.1-2-ARCH x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:5.1.0
process_id:341
run_id:fd53c75950272021408b57cd9b791c0d83bb236d
tcp_port:6380
uptime_in_seconds:16792428
uptime_in_days:194
hz:10
lru_clock:12231792

# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0

# Memory
used_memory:26006080
used_memory_human:24.80M
used_memory_rss:37920768
used_memory_peak:94835128
used_memory_peak_human:90.44M
used_memory_lua:36864
mem_fragmentation_ratio:1.46
mem_allocator:jemalloc-3.6.0

# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1471849576
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:0
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

# Stats
total_connections_received:1115692
total_commands_processed:5056941
instantaneous_ops_per_sec:0
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:14331
evicted_keys:0
keyspace_hits:3138140
keyspace_misses:1182222
pubsub_channels:0
pubsub_patterns:0
latest_fork_usec:1242
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:6550.96
used_cpu_user:22872.68
used_cpu_sys_children:2656.73
used_cpu_user_children:13480.04

# Cluster
cluster_enabled:0

# Keyspace
db0:keys=114392,expires=18,avg_ttl=-111191660443543908


try.redis.io는 redis 3.1.999 버전을 사용한다는 것을 알 수 있다.

반응형

« 1 2 3 »