Flush Memcached
How to flush memcached
Flush Memcached
Flushing memcache is fairly easy, it can be done by using netcat
or nc
. You can also use telnet to issue the flush command.
Netcat technique:
echo 'flush_all' | netcat localhost 11211
Telnet technique:
$ telnet localhost 11211
Trying 192.168.1.10...
Connected to localhost.
Escape character is ‘^]’.
flush_all
OK
quit
Connection to localhost closed by foreign host.
Reference for this information is found at Flush Contents of Memcache Instance.