1. Run memcached in verbose mode
Start memcached Plus-V or-VV option
Ref #/usr/local/bin/memcached-d-M 2048-u root-l 192.168.1.20-p 12111-c 1024-p/tmp/memcached.pid-vv
-V displays error and warning messages
-VV will display error warning message and each client's command and response
2.telnet Way Access memcached
Ref # Telnet 192.168.1.20 12111
Stats: The server will return the status information for each row according to STAT, including 20 rows, 20 information about the daemon's PID, version, number of items saved, memory consumption, maximum memory limit, and so on.
3.memcached Tool Memcached-tool
: Http://code.sixapart.com/svn/memcached/trunk/server/scripts/memcached-tool
Quote # Perl Memcache-tool 192.168.1.20:12111
# item_size Max_age 1mb_pages Count full?
1 B 275 s 1 No.
2 18000 B 275 s 2 No
5 232 B 127 s 1 No
6 296 B 127 s 1 No
7 376 B 127 S 1 No
8 472 B 127 s 1 nos
9 592 B 127 s 1 No
Ten 744 B 127 s 1 No
936 B 127 s 1 192 No
1.1 KB 126 S 1 239 No
1.4 KB 126 S 1 295 No
1.8 KB 126 S 1 368 No
2.2 KB S 1 455 Yes
2.8 KB 1 364 Yes
3.5 KB S 1 291 Yes
4.4 KB S 1 232 Yes
4. Graphical interface monitoring memcached
: Http://livebookmark.net/memcachephp/memcachephp.zip
Program Files: memcache.php
To modify the memcached server settings at the beginning of a file
HTML code
- $MEMCACHE _servers[] = ' 192.168.1.20:12111 '; Add more as an array
Deploy memcache.php to a PHP server and access
Memcached Run Condition monitoring