X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=docs%2Fsource%2Fbin%2Fmemstat.rst;h=3b440de91a28ad4a5c60f26509e347bc7ac0f0b9;hb=08183e32cae3bb2a610e98fe92e0c7796e8872e7;hp=9b60297d554dc5beef4efb503acd6dc0d86e6a19;hpb=f2a59b728c20f7fe78874dd41187ab3fb2db6c7e;p=awesomized%2Flibmemcached diff --git a/docs/source/bin/memstat.rst b/docs/source/bin/memstat.rst index 9b60297d..3b440de9 100644 --- a/docs/source/bin/memstat.rst +++ b/docs/source/bin/memstat.rst @@ -1,12 +1,6 @@ -========================================= -memstat - Gather statistics from a server -========================================= +memstat +======= - -memstat - Display the operating status of a single or group of memcached servers - - --------- SYNOPSIS -------- @@ -14,49 +8,52 @@ memstat [options] .. program:: memstat ------------ +Gather statistics from a server + DESCRIPTION ----------- +:program:`memstat` dumps the state of :manpage:`memcached(1)` servers. +It prints all data to stdout. -:program:`memstat` dumps the state of memcached(1) servers. -It displays all data to stdout. - - -------- OPTIONS ------- +.. include:: options/all.rst +.. include:: options/common.rst +.. include:: options/sasl.rst -You can specify servers via the option: - -.. option:: --servers +.. option:: --analyze -or via the environment variable: + Analyze and print differences of a server cluster. A memory and uptime comparison is performed by default. -.. envvar:: 'MEMCACHED_SERVERS, --args' + Available additional modes: -which can be used to specify the "argument" sent to the stats command (ie slab, size, items, etc..). + --analyze=latency + Network latency comparison -For a full list of operations run the tool with: -.. option:: --help -.. option:: --analyze +.. option:: --server-version ----- -HOME ----- + Obtain and print server version(s) only. +ENVIRONMENT +----------- -To find out more information please check: -`http://libmemcached.org/ `_ +.. envvar:: MEMCACHED_SERVERS + Specify the list of servers. --------- SEE ALSO -------- +.. only:: man + + :manpage:`memcached(1)` + :manpage:`libmemcached(3)` -:manpage:`memcached(1)` :manpage:`libmemcached(3)` +.. only:: html +* :doc:`/libmemcached` +* :doc:`/libmemcached/memcached_stats`