Scroll to navigation

MEMCAT(1) libmemcached-awesome MEMCAT(1)

NAME

memcat - libmemcached Documentation

SYNOPSIS

memcat [options] key [key...]

Read and output the value of one key or the values of a set of keys.

DESCRIPTION

memcat reads and outputs the value of a single or a set of keys stored in a memcached(1) server.

If any key is not found an error is returned.

It is similar to the standard UNIX cat(1) utility.

OPTIONS

Display help.

Display version.

Operate quietly.

Operate more verbosely.

See -v|--verbose.

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

Enable non-blocking operations.

Disable Nagle's algorithm.

Enable binary protocol.

Buffer requests.

Use username for SASL authentication.

Use password for SASL authentication.

Display key's flags.

Use algorithm as key hash algo. See memcached_behavior_t::MEMCACHED_BEHAVIOR_HASH.

Output to file instead of standard output.

NOTE: defaults to <key> if no argument was provided.


ENVIRONMENT

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) libmemcached(3) libmemcached_configuration(3)

February 1, 2024 1.1