Memcache運転状況

995 ワード

memcacheの実行状態はstatsコマンドで簡単に表示できます.まずtelnet 127.0.0.1 11211のようなコマンドでmemcacheに接続し、statsを直接入力すると現在のmemcacheの状態が得られます.
pid: memcache     ID
uptime:        
time:     Unix   
version:memcache  
pointer_size:        
rusage_user:        
rusage_system:        
curr_connections:      
total_connections:Memcached        
connection_structures:Memcached         
cmd_get:get      
cmd_set:set      
cmd_flush:flush      
get_hits:get      
get_misses:get       
delete_misses:delete       
delete_hits:delete      
incr_misses:incr       
incr_hits:incr      
decr_misses:decr       
decr_hits:decr      
cas_misses:cas       
cas_hits:cas      
cas_badval:      
auth_cmds:         
auth_errors:      
bytes_read:      
bytes_written:      
limit_maxbytes:        (  )
accepting_conns:            (0/1)
listen_disabled_num:      
threads:     
conn_yields:          
bytes:          
curr_items:         
total_items:           
evictions:LRU       
reclaimed: