Memcached stats items 命令用于显示各个 slab 中 item 的数目和存储时长(最后一次访问距离现在的秒数)。
stats items 命令的基本语法格式如下:
- stats items
- stats items
- STAT items:1:number 1
- STAT items:1:age 7
- STAT items:1:evicted 0
- STAT items:1:evicted_nonzero 0
- STAT items:1:evicted_time 0
- STAT items:1:outofmemory 0
- STAT items:1:tailrepairs 0
- STAT items:1:reclaimed 0
- STAT items:1:expired_unfetched 0
- STAT items:1:evicted_unfetched 0
- END