Common memcache monitoring methods: memcache monitoring

Source: Internet
Author: User
Tags perl script

Common memcache monitoring methods: memcache monitoring

Common memcache monitoring methods

1. graphical mode:

Reference: http://jingyan.baidu.com/article/6525d4b11f482bac7d2e94da.html

Download memcache in http://pecl.php.net/package/memcache, get memcache. php file, set the account, password, memcache IP port.

Put the memcache. php file in the specified directory.

This method requires the installation of the lamp environment, which can be displayed in a graphical way, more intuitive


2. Use memcache-top mode

: Https://code.google.com/p/memcache-top/

Memcache-top is a perl script that can run under a term. It displays the status changes of each memcached node like top, including the indexes that the system administrator cares about most, such as cache hit rate, memory usage, read/write QPS, and so on.

Before running the script, make sure that the memcache-top script has the executable permission chmod u + x *. sh and then use./to execute it.

Memcache-top:
-Commands: displays the number of calls to the GETS/SETS command.
-Sleep: refresh interval. The default value is 3 seconds.
-Lifetime: displays the cumulative statistical value since memcached was started. It is disabled by default, that is, only the instantaneous rate is displayed.

After running, the interface is as follows:


Related Article

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.