Memcache monitoring Tool--memcache-top

Source: Internet
Author: User
Tags perl script

Memcache Monitoring Tools--Memcache-top


Introduced


Memcache-top is a script file written in the Perl language that can run under term, with the latest version of 0.6. It can show the state change of each memcached node like top, including several indexes that the system administrator is most concerned about, such as cache hit ratio, memory usage, read/write QPS, etc.

Installation


Cd/usr/localmkdir MEMCACHE-TOPCD Memcache-topwget https://memcache-top.googlecode.com/files/ memcache-top-v0.6 (cannot connect below, download and upload to server first) Ln-s/usr/local/memcache-top/memcache-top-v0.6/usr/bin/memcache-topchmod a +x memcache-top-v0.6

Use


Direct input

Memcache-top

The default memcached instance of monitoring is localhost:11211.

The information displayed is similar to the following:

650) this.width=650; "title=" clip_image002 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;margin:0px;border-left:0px;padding-right:0px; "Alt=" Clip_ image002 "src=" http://s3.51cto.com/wyfs02/M01/6B/DA/wKioL1U4maugFWInAACHpogy5po439.jpg "border=" 0 "height=" 153 "/ >

When you need to monitor multiple memcached instances, enter the--instances parameter, and separate multiple instances with commas.

Memcache-top--instances 192.168.11.51:11211,192.168.11.52:11211,192.168.11.68:11211

The information displayed is similar to the following:

650) this.width=650; "title=" clip_image004 "style=" border-top:0px;border-right:0px;background-image:none; border-bottom:0px;padding-top:0px;padding-left:0px;border-left:0px;padding-right:0px, "alt=" clip_image004 "src=" Http://s3.51cto.com/wyfs02/M02/6B/DA/wKioL1U4mayBzXdMAADY8Xf45-0733.jpg "border=" 0 "height=" 186 "/>

Because memcache-top-v0.6 is a Perl script file, you can open it directly and perform a memcached cluster configuration, separating multiple nodes with commas.

Locate the following configuration and modify:

# List of Servers/ports to query. @default_instances = (' 127.0.0.1:11211 ',);


This article is from the SQL Server deep dives blog, so be sure to keep this source http://ultrasql.blog.51cto.com/9591438/1637581

Memcache monitoring Tool--memcache-top

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.