如何在 Windows 上监控 memcached 统计信息?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/266664/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to monitor memcached statistics on windows?
提问by Kalid
What's the easiest method people have found to monitor memcached on Windows? One method I've tried, which works decently:
人们发现在 Windows 上监视 memcached 的最简单方法是什么?我试过的一种方法,效果很好:
telnet into the memcached port (11211) and enter the "stats" command. You'll get back a listing like this:
telnet 到 memcached 端口 (11211) 并输入“stats”命令。你会得到一个这样的列表:
stats
STAT pid 2816
STAT uptime 791
STAT time 1225918895
STAT version 1.2.1
STAT pointer_size 32
STAT curr_items 10
STAT total_items 10
STAT bytes 122931
STAT curr_connections 1
STAT total_connections 5
STAT connection_structures 4
STAT cmd_get 20
STAT cmd_set 10
STAT get_hits 0
STAT get_misses 20
STAT bytes_read 122986
STAT bytes_written 187
STAT limit_maxbytes 1073741824
Is there an easier way?
有更容易的方法吗?
采纳答案by Alister Bulman
The PHP Memcached module also includes a scriptthat will display the stats in summary, and also graph form, as well as being able to view individual cached items. If you are already using PHP & memcache on windows, it's an almost drop-in solution.
PHP Memcached 模块还包括一个脚本,该脚本将显示汇总统计数据和图表形式,以及能够查看单个缓存项目。如果您已经在 Windows 上使用 PHP 和 memcache,那么这几乎是一个简单的解决方案。
回答by prasanna jayapalan
Checkout Evident Software'sClearStone for memcached
检查Evident Software 的ClearStone for memcached
回答by Tilman
phpmemcacheadminis another free PHP app to monitor your memcached cluster, that I find a lot nicer than the script that comes with the PHP extension.
phpmemcacheadmin是另一个免费的 PHP 应用程序,用于监控您的 memcached 集群,我发现它比 PHP 扩展附带的脚本要好得多。
回答by dove
I've worked with memcached on windows and found this to be one of the main drawbacks. It's surprising better tools have not appeared but I guess it's a case of not asking for whom the bell tolls...
我曾在 Windows 上使用过 memcached,发现这是主要缺点之一。令人惊讶的是,还没有出现更好的工具,但我想这是一个不问为谁敲响的案例......