Common memcache monitoring methods: memcache monitoring
Common memcache monitoring methods
1. graphical mode:
Reference: http://jingyan.baidu.com/article/6525d4b11f482bac7d2e94da.html
Download memcache in http://pecl.php.net/package/memcache, get memcache. php file, set the account, password, memcache IP port.
Put the memcache. php file in the specified directory.
This method requires the installation of the lamp environment, which can be displayed in a graphical way, more intuitive
2. Use memcache-top mode
: Https://code.google.com/p/memcache-top/
Memcache-top is a perl script that can run under a term. It displays the status changes of each memcached node like top, including the indexes that the system administrator cares about most, such as cache hit rate, memory usage, read/write QPS, and so on.
Before running the script, make sure that the memcache-top script has the executable permission chmod u + x *. sh and then use./to execute it.
Memcache-top:
-Commands: displays the number of calls to the GETS/SETS command.
-Sleep: refresh interval. The default value is 3 seconds.
-Lifetime: displays the cumulative statistical value since memcached was started. It is disabled by default, that is, only the instantaneous rate is displayed.
After running, the interface is as follows: