memexist — libmemcached-awesome 1.1.1 documentation

# memexist

## SYNOPSIS

memexist [options] <key>

Check for the existence of a key.

## DESCRIPTION

memexist checks for the existence of a key within a cluster.

## OPTIONS

--help

  Display help.

--version

  Display version.

--quiet

  Operate quietly.

--verbose

  Operate more verbosely.

--debug

  See `--verbose`.

--servers <list of servers>

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

--binary

  Enable binary protocol.

--hash <algorithm>

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

--username <username>

  Use username for SASL authentication.

--password <password>

  Use password for SASL authentication.

## ENVIRONMENT

MEMCACHED_SERVERS

  Specify the list of servers.

## SEE ALSO

- C/C++ Client Library for memcached

- Determine if a keys exists