libmemcached

C/C++ client library for connecting to memcached servers

brewmacoslinux
Try with needOr install directly
Source

About

C and C++ client library to the memcached server

Commands

memcached-toolmemcapablememflushmemstatmemcatmemsetmemgetmemdumpmemexist

Examples

check if a memcached server is running and responsive$ memstat --servers=localhost:11211
retrieve a value from memcached by key name$ memcat --servers=localhost:11211 mykey
flush all data from a memcached server$ memflush --servers=localhost:11211
set a key value pair in memcached$ memset --servers=localhost:11211 mykey myvalue
test memcached server compatibility with protocol$ memcapable --servers=localhost:11211