Memcached 客户端 getStats 可能统计数据的键列表?

发布于 2024-12-29 04:02:36 字数 254 浏览 4 评论 0原文

MemcachedClient 有一个 getStats 方法接受统计值的字符串键。有我可以使用的可能按键列表吗?

这也是本地操作还是阻塞调用服务器来获取这些统计信息?

MemcachedClient has a getStats method which accepts a String key for the stat value. Is there a list of possible keys I can use?

Also is this a local operation or a blocking call to server to get those stats?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

冷清清 2025-01-05 04:02:36

我认为 getStats 的参数与“telnet”内存缓存时使用的参数相同。您可以在此处找到统计命令参数:http://lzone.de/articles/memcached.htm

选项有:slabs、malloc、items、detail、sizes、reset。

我不知道这是否是一个阻塞调用,但我不这么认为。

希望这会有所帮助,

干杯。

i think that params for getStats are the same used when you "telnet" your memcache. You can find stats command args here: http://lzone.de/articles/memcached.htm

options are: slabs, malloc, items, detail, sizes, reset.

I don't know if it's a blocking call, but i dont think so.

hope this will help,

cheers.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文