memcached Operating condition Monitoring

Source: Internet
Author: User
Tags memcached php server

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
    1. $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

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.