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