Use memcache.php to monitor memcached

Source: Internet
Author: User

Use memcache.php to monitor memcached

Memcache.php inside the memcahce-2.2.7 bag

Memcahce-2.2.7:http://pecl.php.net/get/memcache-2.2.7.tgz

Place the memcache.php within the memcahce-2.2.7 package in the Apache Htdocs directory:

[email protected] memcache-2.2.7]# CP memcache.php/home/webserver/httpd/htdocs/

Modify memcache.php Content:

[Email protected] htdocs]# vim memcache.php

<?php

....

Define (' Admin_username ', ' ADMIN '); Admin Username

Define (' Admin_password ', ' zrer90 '); Admin Password

Define (' Date_format ', ' y/m/d h:i:s ');

Define (' Graph_size ', 200);

Define (' Max_item_dump ', 50);

$MEMCACHE _servers[] = ' 127.0.0.1:11211 '; Add more as an array--Specify the server to monitor

/* $MEMCACHE _servers[] = ' mymemcache-server2:11211 '; Add more as an array */

...

?>


Visit memcache.php View:

Memcached installation and startup scripts http://www.linuxidc.com/Linux/2013-07/87641.htm

Performance issues with memcached in PHP http://www.linuxidc.com/Linux/2013-06/85883.htm

Ubuntu installation memcached and command explanation http://www.linuxidc.com/Linux/2013-06/85832.htm

Installation and application of memcached http://www.linuxidc.com/Linux/2013-08/89165.htm

A small picture storage scheme using nginx+memcached http://www.linuxidc.com/Linux/2013-11/92390.htm

Getting Started with memcached http://www.linuxidc.com/Linux/2011-12/49516p2.htm

Use memcache.php to monitor memcached

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.