摘要: 1、通过发送"stats items STAT items:0:number 0 \r\n"获取所有的slab,并从中解析出slabId。返回结果参考如下:STAT items:1:number 7STAT items:1:age 966591STAT items:1:evicted 0STAT items:1:outofmemory 0STAT items:2:number 32STAT items:2:age 1206400STAT items:2:evicted 0STAT items:2:outofmemory 02、上面的数字1、2就是所谓的slabId,通过发送 阅读全文
posted @ 2013-03-31 09:47 junchu25 阅读(1258) 评论(0) 推荐(0) 编辑