Memcached stats items命令详解
作者:技术拾光时间:2026-08-12 12:17:26浏览:566
Memcached 的 stats items 命令主要用于查看各个 slab 中 item 的数量,以及这些数据已经存放的时长。这里的时间,是指距离最后一次访问至今所经过的秒数。 语法 stats items 命令的基本语法如下: stats items 示例 stats items STAT i
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