Use Telnet to connect memcached, send statistics command: stats

Source: Internet
Author: User

Use Telnet to connect memcached, send statistics command: stats. Shell>telnet 192.168.51.110 11211

Trying 192.168.228.3 ...

Connected to 192.168.228.3.

Escape character is ' ^] '.

Stats
STAT PID 6995
STAT Uptime 87233
STAT Time 1222314531
STAT version 1.2.6
STAT Pointer_size 32
STAT Rusage_user 0.081987
STAT Rusage_system 0.246962
STAT Curr_items 1000
STAT Total_items 3932
STAT bytes 65000
STAT Curr_connections 2
STAT Total_connections 452
STAT Connection_structures 129
STAT Cmd_get 7980
STAT Cmd_set 3990
STAT get_hits 4975
STAT get_misses 3005
STAT Evictions 0
STAT Bytes_read 291486
STAT Bytes_written 235479
STAT limit_maxbytes 2147483648
STAT Threads 1
END

Analyze statistics
--------------------------------------------------------------------------------
Name
Description
pid      //memcached Process ID
uptime  //memcached run time, units: seconds
time   //memcached Current Unix time
version //memcached version number
rusage_user //cumulative user time for the process, in seconds
Rusage_ system //The process accumulates the system time, in seconds
curr_items //memcached The amount of content currently stored
total_items  // Total number of content stored since memcached started
bytes //memcached bytes consumed by current storage
curr_connections  //Current number of connections
Total_ Total number of connections received since connections  //memcached run
connection_structures //memcached number of connection structures allocated
cmd _get    Total //query requests
cmd_set  //storage (Add/update) Total requests
get_hits  // Total number of times the query successfully fetched data
get_misses //The total number of times that the query succeeded without obtaining data
bytes_read  //memcached Total bytes read from the network
Bytes_ written //memcached The total number of bytes sent to the network
limit_maxbytes //memcached The total number of bytes allowed to be used when storing

Connect memcached using Telnet, send statistics command: Stats

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.