summaryrefslogtreecommitdiff
path: root/docs/source/bin/memstat.rst
diff options
context:
space:
mode:
Diffstat (limited to 'docs/source/bin/memstat.rst')
-rw-r--r--docs/source/bin/memstat.rst62
1 files changed, 62 insertions, 0 deletions
diff --git a/docs/source/bin/memstat.rst b/docs/source/bin/memstat.rst
new file mode 100644
index 00000000..9b60297d
--- /dev/null
+++ b/docs/source/bin/memstat.rst
@@ -0,0 +1,62 @@
+=========================================
+memstat - Gather statistics from a server
+=========================================
+
+
+memstat - Display the operating status of a single or group of memcached servers
+
+
+--------
+SYNOPSIS
+--------
+
+memstat [options]
+
+.. program:: memstat
+
+-----------
+DESCRIPTION
+-----------
+
+
+:program:`memstat` dumps the state of memcached(1) servers.
+It displays all data to stdout.
+
+
+-------
+OPTIONS
+-------
+
+
+You can specify servers via the option:
+
+.. option:: --servers
+
+or via the environment variable:
+
+.. envvar:: 'MEMCACHED_SERVERS, --args'
+
+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:
+
+.. option:: --help
+
+.. option:: --analyze
+
+----
+HOME
+----
+
+
+To find out more information please check:
+`http://libmemcached.org/ <http://libmemcached.org/>`_
+
+
+--------
+SEE ALSO
+--------
+
+
+:manpage:`memcached(1)` :manpage:`libmemcached(3)`
+