I find the key of problem now.Because i used old whalin version java 
client,memcached server check statcachedump command parameters,it need to send 
limit parameter,so change version of client,the problem be solved.
    but i want to point that use statcachedump,you will get keys include be 
deleted.for example:
    
    
Cache.set(“key1”,”value1”);
Cache.set(“key2”,”value2”);
 
Cache.flushAll(null);
 
Cache.set(“key3”,”value3”);
Cache.set(“key4”,”value4”);
 
Boolean fast = true;
Set keys = Cache.keySet(fast);
System.out.println(keys);
 
Fast = false;
keys = Cache.keySet(fast);
System.out.println(keys);
 
get result:
Key1,key2,key3,key4
Key3,key4

fast parameter means should get keys then check key in cache by using 
containsKey(key).
    





wenchu.cenwc
2008-06-05



发件人: Harshad Chavan
发送时间: 2008-06-05 01:01:30
收件人: [email protected]
抄送: 
主题: How to read stats using stats command

Hello,

This is a very basic question. But I could not find it in the document/wiki 
section of memcached, nor could I find it on the web anywhere. I tried to go to 
archives, but could not find any search facility.

I just wanted to know, how to read the the result of stats command.

The output I get is - 
STAT pid 26989
STAT uptime 338772
STAT time 1212598228
STAT version 1.2.2
STAT pointer_size 64
STAT rusage_user 4.303345
STAT rusage_system 13.534942
STAT curr_items 6383
STAT total_items 45787
STAT bytes 12780340
STAT curr_connections 2
STAT total_connections 25
STAT connection_structures 3
STAT cmd_get 405436
STAT cmd_set 45787
STAT get_hits 390376
STAT get_misses 15060
STAT evictions 0
STAT bytes_read 58579379
STAT bytes_written 305919641
STAT limit_maxbytes 524288000
STAT threads 1
END

Can anybody please help?

Thanks,

Harshad

Reply via email to