论坛首页 Java企业应用论坛

监控memcached

浏览 4915 次
锁定老帖子 主题:监控memcached
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
作者 正文
   发表时间:2009-08-03  

监控memcached的运行情况还是很有必要的,当前尝试了如下几种方式:

 

1。telnet方式

 

通过运行命令行telnet 127.0.0.1 11211,然后运行stats,得到如下内容:

stats
STAT pid 2220
STAT uptime 272669
STAT time 1249292478
STAT version 1.2.1
STAT pointer_size 32
STAT curr_items 4
STAT total_items 4
STAT bytes 986
STAT curr_connections 21
STAT total_connections 51
STAT connection_structures 27
STAT cmd_get 13
STAT cmd_set 4
STAT get_hits 9
STAT get_misses 4
STAT bytes_read 1152
STAT bytes_written 2112
STAT limit_maxbytes 67108864
END

 

2。MemCacheD Manager, by Nick Pirocanac

 

安装完毕后,add server,输入ip即可,显示界面如下:

 

3。其他方式

HowToMonitor  
Monitoring memcached

Or, just do a simple connect to the port where memcached is listening. You can run a simple command like 'version' or 'stats' to see if memcached is listening.

论坛首页 Java企业应用版

跳转论坛:
Global site tag (gtag.js) - Google Analytics