memtouch - Man Page

libmemcached Documentation

Synopsis

memtouch [options] <key>

Description

memtouch does a "touch" on the specified key.

Options

-h|--help

Display help.

-V|--version

Display version.

-q|--quiet

Operate quietly.

-v|--verbose

Operate more verbosely.

-d|--debug

See -v|--verbose​.

-s|--servers <list of servers>

Specify the list of servers as hostname[:port][,hostname[:port]...]​.

-n|--non-blocking

Enable non-blocking operations.

-N|--tcp-nodelay

Disable Nagle's algorithm.

-b|--binary

Enable binary protocol.

-B|--buffer

Buffer requests.

-u|--username <username>

Use username for SASL authentication.

-p|--password <password>

Use password for SASL authentication.

-H|--hash <algorithm>

Use algorithm as key hash algo. See memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH <#_CPPv4N20memcached_behavior_t23MEMCACHED_BEHAVIOR_HASHE>​.

-e|--expire <expiration>

Use expiration seconds (or a UNIX timestamp).

Environment

MEMCACHED_SERVERS

Specify a list of servers.

Notes

Program Prefix

The prefix of this program is variable, i.e. it can be configured at build time.

Usually the client programs of libmemcached-awesome are prefixed with mem, like memcat or memcp​.

It can be configured, though, to replace the prefix with something else like mc, in case of that, the client programs of libmemcached-awesome would be called mccat, mccp, etc. respectively.

See Also

memcached(1) <https://linux.die.net/man/1/memcached> libmemcached(3) <https://linux.die.net/man/3/libmemcached>

Referenced By

libmemcached(3).

Sep 01, 2026 1.1 libmemcached-awesome