php memcached 统计页面,使用 PECL::memcache
我正在运行 php 5.3。我已经安装了 pecl memcache 扩展。曾几何时,有一个 memcache.php(我知道它仍然存在并且可用)用于查看有用的 memcached 统计信息和其他信息。在某些时候,此页面已提交到 pecl memcached 扩展中(无法获取提交 atm 的链接)。
我的问题是安装扩展程序后如何查看此页面?
I'm running php 5.3. I have installed the pecl memcache extension. Once upon a time there was the memcache.php (which I'm aware is still around and usable) for viewing useful memcached stats and other info. At some point this page was committed into the pecl memcached extension (can't get the link to the commit atm).
My question is once the extension is installed how do I view this page?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
要查看
memcache.php
文件的结果,您必须:memcache.php
文件,以指示应监控哪些服务器$MEMCACHE_SERVERS
数组memcache.php
文件放在服务器上的某个位置安装 PECL memcache 扩展将允许您通过 PHP 与 memcached 服务器进行通信,但它不会在您的网络服务器上安装
memcache.php
文件。显然,这个文件已添加到 PECL 中,用于这两个版本的扩展:
To view the result of the
memcache.php
file, you'll have to :.tgz
archive from PECL, it should be included)memcache.php
file, to indicate which servers should be monitored$MEMCACHE_SERVERS
arraymemcache.php
file somewhere on your serverInstalling the PECL memcache extension will allow you to use communicate with a memcached server from PHP -- but it'll not install the
memcache.php
file on your webserver.Apparently, this file has been added in PECL for these two versions of the extension :
您可以使用 Telnet 连接到 memcached IP 地址和端口,并使用某些命令来获取统计信息。 这里有一篇文章可能会有所帮助。
You can use Telnet to connect to the memcached IP address and port and use certain commands to get stats. Here's an article that might help.
您需要的文件位于:http://svn. php.net/viewvc/pecl/memcache/trunk/memcache.php?view=markup
The file you needed is here: http://svn.php.net/viewvc/pecl/memcache/trunk/memcache.php?view=markup