1MEMCACHED-TOOL(1) General Commands Manual MEMCACHED-TOOL(1)
2
3
4
6 memcached-tool - stats and management tool for memcached
7
8
10 memcached-tool <host[:port] | /path/to/socket> [mode]
11
12
14 memcached-tool is a Perl script used to print statistics from a running
15 memcached instance. The first parameter specifies the address of the
16 daemon either by a hostname, optionally followed by the port number
17 (the default is 11211), or a path to UNIX domain socket. The second
18 parameter specifies the mode in which the tool should run.
19
20
22 display
23 Print slab class statistics. This is the default mode if no mode
24 is specified. The printed columns are:
25
26 # Number of the slab class.
27
28 Item_Size
29 The amount of space each chunk uses. One item uses one
30 chunk of the appropriate size.
31
32 Max_age
33 Age of the oldest item in the LRU.
34
35 Pages Total number of pages allocated to the slab class.
36
37 Count Number of items presently stored in this class. Expired
38 items are not automatically excluded.
39
40 Full? Yes if there are no free chunks at the end of the last
41 allocated page.
42
43 Evicted
44 Number of times an item had to be evicted from the LRU
45 before it expired.
46
47 Evict_Time
48 Seconds since the last access for the most recent item
49 evicted from this class.
50
51 OOM Number of times the underlying slab class was unable to
52 store a new item.
53
54
55 stats Print general-purpose statistics of the daemon. Each line con‐
56 tains the name of the statistic and its value.
57
58 dump Make a partial dump of the cache written in the add statements
59 of the memcached protocol.
60
61
63 memcached(1),
64 http://www.memcached.org
65
66
68 The memcached-tool script was written by Brad Fitzpatrick
69 <brad@danga.com>
70
71
72
73 Jul 2, 2013 MEMCACHED-TOOL(1)