Skip to content

Instantly share code, notes, and snippets.

Created March 7, 2017 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/04a5d01906336cf777beff6f4e0bf52d to your computer and use it in GitHub Desktop.
Save anonymous/04a5d01906336cf777beff6f4e0bf52d to your computer and use it in GitHub Desktop.
redis-cli info
ctn [master] :> redis-cli -c -p 7003
127.0.0.1:7003> info
# Server
redis_version:3.2.1
redis_git_sha1:00000000
redis_git_dirty:0
redis_build_id:d03f37d4652e6b67
redis_mode:cluster
os:Darwin 16.4.0 x86_64
arch_bits:64
multiplexing_api:kqueue
gcc_version:4.2.1
process_id:11209
run_id:4f2ef0302f00796bec7dded089f373cce661a5a6
tcp_port:7003
uptime_in_seconds:35724
uptime_in_days:0
hz:10
lru_clock:12509736
executable:/Users/GabbAHH/Desktop/Dev/ctn/redis-server
config_file:/private/etc/redis-3.2.1/src/7003/redis.conf
# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:1409136
used_memory_human:1.34M
used_memory_rss:2695168
used_memory_rss_human:2.57M
used_memory_peak:1409136
used_memory_peak_human:1.34M
total_system_memory:17179869184
total_system_memory_human:16.00G
used_memory_lua:37888
used_memory_lua_human:37.00K
maxmemory:0
maxmemory_human:0B
maxmemory_policy:noeviction
mem_fragmentation_ratio:1.91
mem_allocator:libc
# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1488869020
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
rdb_current_bgsave_time_sec:-1
aof_enabled:1
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
aof_current_size:0
aof_base_size:0
aof_pending_rewrite:0
aof_buffer_length:0
aof_rewrite_buffer_length:0
aof_pending_bio_fsync:0
aof_delayed_fsync:0
# Stats
total_connections_received:1
total_commands_processed:1
instantaneous_ops_per_sec:0
total_net_input_bytes:31
total_net_output_bytes:5892104
instantaneous_input_kbps:0.00
instantaneous_output_kbps:0.00
rejected_connections:0
sync_full:0
sync_partial_ok:0
sync_partial_err:0
expired_keys:0
evicted_keys:0
keyspace_hits:0
keyspace_misses:0
pubsub_channels:0
pubsub_patterns:0
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:2.03
used_cpu_user:1.38
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
# Cluster
cluster_enabled:1
# Keyspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment