Snippets for yer computer needs



Get a list of keys —————— Note - this is an undocumented interface in the C memcached server

# get slab info
stats items
# get dump of slab
stats cachedump SLAB LIMIT

Using ASCII protocol through telnet

telnet host 11211
command description
stats gets buncha stats
set [noreply]\r set a value
*: is the number of bytes in the data block to follow, *not* including the delimiting \r may be zero (in which case it's followed by an empty data block).  
get - returns: VALUE []\r\r