redisモニタ関連コマンドおよび説明

764 ワード

1、         
  info    used_memory Redis     ;used_memory_rss        Redis     ,        ,     used_memory;used_fragmentation_ratio          ,      1  ,    1  1.8          ,   used_memory>used_memory_rss ,   Redis                   ,      ,            ;

2、   
info                      ,              。
keyspace_hits:14414110  
keyspace_misses:3228654  
used_memory:433264648  
expired_keys:1333536  
evicted_keys:1547380

       :14414110 / (14414110 + 3228654) = 81% ,        ,            ,       95%  
  ruby gem redis-stat,   INFO             ,  :
https://github.com/junegunn/redis-stat

3、   
     
#slowlog get 10
           
http://blog.csdn.net/dc_726/article/details/47699739



:http://www.architecy.com/archives/263