Memcache monitoring Tool--mctop

Source: Internet
Author: User

Memcache Monitoring Tools--Mctop


Introduced


Mctop is similar to Memcache-top, which is mainly used to monitor memcache traffic, including the number of key calls, object storage size, number of requests per second, and network bandwidth consumed.


Source code: Https://github.com/etsy/mctop

Installation


Cd/usr/localyum Install libpcap-devel ruby-devel rubygems gitgem sources--remove https://rubygems.org/gem sources-a htt Ps://ruby.taobao.org/gem sources-lgem install ruby-pcap-v ' 0.7.8 ' gem install Bundlegem install Rakegit clone https://git Hub.com/etsy/mctop.gitcd mctopbundle installrake installln-s/usr/local/mctop/bin/mctop/usr/bin/mctop

Use


View Help:

Mctop–h
Usage:mctop [Options]-i,--interface=nic network interface to sniff (required)--host=host network host to sniff on (Defau Lt All)-p,--port=port Network port to sniff on (default 11211)-D,--discard=thresh discard keys with Request/sec rate Bel ow thresh-r,--refresh=ms refresh the stats display every MS milliseconds-h,--help Show usage info

Mctop-i eth0-p 11211

The output resembles the following information:

Memcache Key calls ObjSize req/sec bw (kbps) KEY12 1 6 0.02 0.00key10 1 6 0.02 0.00username 1 0.02 0.00 Sort Mode:reqsec (DESC) keys:3 Packets (recv/dropped): 21/0 (0.00%) rt:0.719 (ms) Q:quit | C:sort by calls | S:sort by Size | R:sort by Req/sec | B:sort by Bandwidth | T:toggle sort order (ASC|DESC)


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

Memcache monitoring Tool--mctop

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.