Friday, April 13, 2012

Deal memcached with telnet on windows

(1) Enable telnet client on Windows

If you are using Windows Vista/7/8, telnet client is disabled as default on these OSs. To enable, please check the page below and do those operations:
Install Telnet Client on Windows 7 or Windows Vista

(2) Deal memcached with telnet

Type this command on command prompt
> telnet localhost 11211
Then, telnet has started, do the instructions as you like. For instance:
stats
STAT delete_misses 0
...
END
set some_key 0 0 1
a
STORED
get some_key
VALUE some_key 0 1
a
END
quit

No comments:

Post a Comment