如何在Windows上监控memcached统计信息?

Kal*_*lid 7 windows statistics memcached

人们发现在Windows上监控memcached的最简单方法是什么?我试过的一种方法,效果很好:

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
Run Code Online (Sandbox Code Playgroud)

有没有更简单的方法?

Ali*_*man 3

PHP Memcached 模块还包括一个脚本,该脚本将显示摘要统计信息以及图表形式,并且能够查看单个缓存项目。如果您已经在 Windows 上使用 PHP 和 memcache,那么这几乎是一个即插即用的解决方案。

  • 上面的脚本链接无效。 (2认同)