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