telnet 到該 server 的 memcached port
ex.
telnet memcache-server 11211
然後輸入 stats
$ telnet memcache-server 11211
telnet 10.12.34.56 11211 Trying 10.12.34.56... Connected to memcache-server . Escape character is '^]'. stats settings STAT maxbytes 2147483648 STAT maxconns 32768 STAT tcpport 11211 STAT udpport 11211 STAT inter NULL STAT verbosity 0 STAT oldest 0 STAT evictions on STAT domain_socket NULL STAT umask 700 STAT growth_factor 1.25 STAT chunk_size 48 STAT num_threads 4 STAT stat_key_prefix : STAT detail_enabled no STAT reqs_per_event 20 STAT cas_enabled yes STAT tcp_backlog 16384 STAT binding_protocol auto-negotiate STAT auth_enabled_sasl no STAT item_size_max 33554432 END quit
參考:
http://tc.itkee.com/database/detail-232e.html
可以這樣丟指令進去?
$ echo "stats settings" | nc localhost 11211
沒有留言:
張貼留言