dboss实现java memcached

[admin@server5 duitang]$ cat /duitang/logs/sys/gunicorn.log|grep "memcache2" | wc -l
416074
(reverse-i-search)`cat': cat /duitang/logs/sys/gunicorn.log|grep "memcache2" | wc -l
[admin@server5 duitang]$ cat /duitang/logs/sys/gunicorn.log|grep "memcache2" | awk '{print $4}' | grep -v "mem"|sort -rn| head -10
19.4101333618
12.934923172
7.60006904602
6.8690776825
5.88417053223
5.67197799683
5.37800788879
5.30314445496
5.13386726379
4.93502616882

 

连接数保持稳定

 

[admin@server5 duitang]$ netstat -antp | grep 8989
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 192.168.172.6:35848         192.168.172.2:8989          ESTABLISHED 14501/python       
tcp        0      0 192.168.172.6:33727         192.168.172.2:8989          ESTABLISHED 9475/python        
tcp        0      0 192.168.172.6:34176         192.168.172.2:8989          ESTABLISHED 9513/python        
tcp        0      0 192.168.172.6:34066         192.168.172.2:8989          ESTABLISHED 9479/python        
tcp        0      0 192.168.172.6:34132         192.168.172.2:8989          ESTABLISHED 9480/python        
tcp        0      0 192.168.172.6:33963         192.168.172.2:8989          ESTABLISHED 9482/python        
tcp        0     86 192.168.172.6:33948         192.168.172.2:8989          ESTABLISHED 9481/python        
tcp        0      0 192.168.172.6:34031         192.168.172.2:8989          ESTABLISHED 9478/python        
tcp        0      0 192.168.172.6:33825         192.168.172.2:8989          ESTABLISHED 9483/python        
tcp        0      0 192.168.172.6:33816         192.168.172.2:8989          ESTABLISHED 9507/python        
tcp        0      0 192.168.172.6:33903         192.168.172.2:8989          ESTABLISHED 9476/python        
tcp        0      0 192.168.172.6:33887         192.168.172.2:8989          ESTABLISHED 9490/python        
[admin@server5 duitang]$ netstat -antp | grep 8989 | wc -l
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
12

 

<h1>cache monitor</h1>get:1001052<br>hit:786417<br>set:214294<br>[

你可能感兴趣的:(memcached)