7c2b96251bd6dd8c44a294a134a4fc98e55d8a3d
[awesomized/libmemcached] / docs / source / bin / memstat.rst
1 memstat
2 =======
3
4 SYNOPSIS
5 --------
6
7 memstat [options] [stat args]
8
9 .. program:: memstat
10
11 Gather statistics from a server
12
13 DESCRIPTION
14 -----------
15
16 :program:`memstat` dumps the state of :manpage:`memcached(1)` servers.
17 It prints all data to stdout.
18
19 OPTIONS
20 -------
21
22 .. include:: options/common_get.rst
23
24 .. option:: -A|--args <stat>
25
26 Stat args.
27
28 **DEPRECATED:** use positional arguments.
29
30 .. option:: -a|--analyze [<arg>]
31
32 Analyze and print differences of a server cluster.
33 A memory and uptime comparison is performed by default.
34
35 Options:
36
37 --analyze[=default]
38 Memory and uptime comparison.
39
40 --analyze=latency
41 Network latency comparison.
42
43 .. option:: -S|-server-version
44
45 Obtain and print server version(s) only.
46
47 .. option:: --iterations
48
49 Iteration count of GETs sent by the latency test (default: 1000).
50
51
52 ENVIRONMENT
53 -----------
54
55 .. envvar:: MEMCACHED_SERVERS
56
57 Specify the list of servers.
58
59 SEE ALSO
60 --------
61
62 .. only:: man
63
64 :manpage:`memcached(1)`
65 :manpage:`libmemcached(3)`
66
67 .. only:: html
68
69 * :doc:`/libmemcached`
70 * :doc:`/libmemcached/memcached_stats`