Memcached stats items命令详解

作者:技术拾光

时间:2026-08-12

浏览:565

Memcached 的 stats items 命令主要用于查看各个 slab 中 item 的数量,以及这些数据已经存放的时长。这里的时间,是指距离最后一次访问至今所经过的秒数。 语法 stats items 命令的基本语法如下: stats items 示例 stats items STAT i

文章目录

Memcached 的 stats items 命令主要用于查看各个 slab 中 item 的数量,以及这些数据已经存放的时长。这里的时间,是指距离最后一次访问至今所经过的秒数。

Memcached stats items命令详解

语法

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

实用工具推荐

电子包浆

绿化、压缩、噪点和虚拟水印,自由调节做旧程度。

使用 ›
图片压缩

选择画质和输出格式,预览压缩前后的大小。

使用 ›