-
-

memstat - Gather statistics from a server¶

-

memstat - Display the operating status of a single or group of memcached servers

+
+

memstat¶

SYNOPSIS¶

memstat [options]

+

Gather statistics from a server

DESCRIPTION¶

-

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

+

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

OPTIONS¶

-

You can specify servers via the option:

+
+
+--help¶
+

Display help.

+
+ +
+
+--version¶
+

Display version.

+
+ +
+
+--quiet¶
+

Operate quietly.

+
+ +
+
+--verbose¶
+

Operate more verbosely.

+
+ +
+
+--debug¶
+

See --verbose.

+
+
---servers¶
-
+--servers <list of servers>¶ +

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

+
-

or via the environment variable:

-
-
-'MEMCACHED_SERVERS, --args'¶
-
+
+
+--binary¶
+

Enable binary protocol.

+
-

which can be used to specify the “argument” sent to the stats command (ie slab, size, items, etc..).

-

For a full list of operations run the tool with:

-
---help¶
-
+
+--username <username>¶
+

Use username for SASL authentication.

+
+ +
+
+--password <password>¶
+

Use password for SASL authentication.

+
---analyze¶
-
+--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.

+
@@ -668,10 +298,10 @@ It displays all data to stdout.