Skip to content

Memcached tips

Connect to memcached server#

Telnet can be used to connect and query Memcached.

$ telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get foo
VALUE foo 0 2

Dump cache contents to another instance#

$ memcached-tool 127.0.0.1:11211 dump | nc x.x.x.x 11211
$

Last update: July 13, 2022
Created: July 13, 2022