1MEMCACHED-TOOL(1)           General Commands Manual          MEMCACHED-TOOL(1)
2
3
4

NAME

6       memcached-tool - stats and management tool for memcached
7
8

SYNOPSIS

10       memcached-tool <host[:port] | /path/to/socket> [mode]
11
12

DESCRIPTION

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

MODES

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 [limit]
59              Make  a  partial dump of the cache written in the add statements
60              of the memcached protocol. If limit is given and is  a  strictly
61              positive  integer,  then  the  dump is limited to that number of
62              items.
63
64

SEE ALSO

66       memcached(1),
67       http://www.memcached.org
68
69

AUTHOR

71       The   memcached-tool   script   was   written   by   Brad   Fitzpatrick
72       <brad@danga.com>
73
74
75
76                                  Jul 2, 2013                MEMCACHED-TOOL(1)
Impressum