Get memcache stats

To get memcache stats is pretty useful.  The below command will dish out your current connections and stats from the start of the service, i.e. number of hits.

telnet memecache-server 11211

Escape character is '^]'.
stats    <-- type that
 
 You can also do this from linux box if you have netcat installed:

$ echo stats | nc localhost 11211 | grep curr_conn
 
Helpful article / post on this topic:
 
http://unix.stackexchange.com/questions/117443/memcache-stats-reports-non-zero-curr-connections-but-lsof-shows-no-socket 

jim has written 83 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>