检查状态
[root@h102 codis]# ps faux | grep codis | grep -v grep
root 35057 1.5 2.5 448184 49352 pts/0 Sl+ 17:55 2:32 | \_ bin/codis-config dashboard
root 35742 0.1 0.5 137392 9592 ? Ssl 20:39 0:00 bin/codis-server *:6379
[root@h102 codis]# cat /var/run/redis.pid
35742
[root@h102 codis]# extern/redis-2.8.21/src/redis-cli -p 6379 info
# Server
redis_version:2.8.21
redis_git_sha1:4a332efd
redis_git_dirty:0
redis_build_id:2aa3ac6d720af7b0
redis_mode:standalone
os:Linux 2.6.32-504.el6.x86_64 x86_64
arch_bits:64
multiplexing_api:epoll
gcc_version:4.4.7
process_id:35742
run_id:0506f862c0562d04c11c5e018d59f0ec74d72617
tcp_port:6379
uptime_in_seconds:445
uptime_in_days:0
hz:10
lru_clock:6392636
config_file:/root/go_home/src/github.com/wandoulabs/codis/extern/redis-2.8.21/redis.conf
# Clients
connected_clients:1
client_longest_output_list:0
client_biggest_input_buf:0
blocked_clients:0
# Memory
used_memory:2530152
used_memory_human:2.41M
used_memory_rss:9822208
used_memory_peak:2530152
used_memory_peak_human:2.41M
used_memory_lua:36864
mem_fragmentation_ratio:3.88
mem_allocator:jemalloc-3.6.0
# Persistence
loading:0
rdb_changes_since_last_save:0
rdb_bgsave_in_progress:0
rdb_last_save_time:1449232767
rdb_last_bgsave_status:ok
rdb_last_bgsave_time_sec:-1
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:3
total_commands_processed:2
instantaneous_ops_per_sec:0
total_net_input_bytes:42
total_net_output_bytes:3829
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
# 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.36
used_cpu_user:0.43
used_cpu_sys_children:0.00
used_cpu_user_children:0.00
# Keyspace
[root@h102 codis]#
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。
本文系转载,前往查看
如有侵权,请联系 cloudcommunity@tencent.com 删除。