监控memcached
监控memcached的运行情况还是很有必要的,当前尝试了如下几种方式:
1。telnet方式
通过运行命令行telnet 127.0.0.1 11211,然后运行stats,得到如下内容:
stats
STATpid2220
STATuptime272669
STATtime1249292478
STATversion1.2.1
STATpointer_size32
STATcurr_items4
STATtotal_items4
STATbytes986
STATcurr_connections21
STATtotal_connections51
STATconnection_structures27
STATcmd_get13
STATcmd_set4
STATget_hits9
STATget_misses4
STATbytes_read1152
STATbytes_written2112
STATlimit_maxbytes67108864
END2。MemCacheD Manager, by Nick Pirocanac
安装完毕后,add server,输入ip即可,显示界面如下:
3。其他方式
HowToMonitor
Monitoring memcached
- Hyperic plugin
- Nagios plugin
- Ganglia
- PHP-based control panel
- Munin plugin
- Ruby gem: memcache-client-stats
- Python: django examples
- During development:
- http://github.com/andrewfromgeni/mcinsight - GUI to examine memcached server
- http://code.google.com/p/memcached-manager
- Windows
- MemCacheD Manager, by Nick Pirocanac
Or,just do a simple connect to the port where memcached is listening. Youcan run a simple command like 'version' or 'stats' to see if memcachedis listening.
相关推荐
郗瑞强 2020-08-16
85590296 2020-07-22
jkzyx 2020-06-29
luotuo 2020-06-26
LinuxJob 2020-06-26
ol0 2020-06-26
清溪算法君老号 2020-06-25
86251043 2020-06-13
CSDN0BLOG 2020-06-09
ol0 2020-05-26
andyhuabing 2020-05-22
程序员俱乐部 2020-05-06
83530391 2020-05-05
ol0 2020-05-02
83530391 2020-04-09
85590296 2020-03-25
carolAnn 2020-03-07
大脸猫脸大 2020-03-03
ol0 2020-02-18