memstat

SYNOPSIS

memstat [options]

Gather statistics from a server

DESCRIPTION

memstat dumps the state of memcached(1) servers. It prints all data to stdout.

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.

--username <username>

Use username for SASL authentication.

--password <password>

Use password for SASL authentication.

--analyze

Analyze and print differences of a server cluster. A memory and uptime comparison is performed by default.

Available additional modes:

--analyze=latency
 Network latency comparison
--server-version

Obtain and print server version(s) only.

ENVIRONMENT

MEMCACHED_SERVERS

Specify the list of servers.