1PMDAMEMCACHE(1)             General Commands Manual            PMDAMEMCACHE(1)
2
3
4

NAME

6       pmdamemcache - memcached performance metrics domain agent (PMDA)
7

DESCRIPTION

9       This  PMDA extracts performance data from memcached, a distributed mem‐
10       ory caching daemon commonly used to improve web serving performance.  A
11       farm  of memcached processes over multiple servers can be utilised by a
12       single web application, increasing the  total  available  object  cache
13       size,  and  decreasing  the database load associated with smaller cache
14       sizes.  This system is described in detail at http://www.danga.com/mem
15       cached.
16

INSTALLATION

18       Configure  pmdamemcache to extract the values from set of hosts used in
19       the  memcache  farm.   These  hosts  can  be  listed  in  the  $PCP_PM‐
20       DAS_DIR/memcache/memcache.conf  file,  in the format (i.e.  Perl array)
21       described at the top of pmdamemcache.pl.  A  custom  refresh  rate  can
22       also be configured using this mechanism.
23
24            # cd $PCP_PMDAS_DIR/memcache
25            # [ edit memcache.conf ]
26
27       Once  this  is  setup, you can access the names and values for the mem‐
28       cache performance metrics by doing the following as root:
29
30            # cd $PCP_PMDAS_DIR/memcache
31            # ./Install
32
33       If you want to undo the installation, do the following as root:
34
35            # cd $PCP_PMDAS_DIR/memcache
36            # ./Remove
37
38       pmdamemcache is launched by pmcd(1) and should never  be  executed  di‐
39       rectly. The Install and Remove scripts notify pmcd(1) when the agent is
40       installed or removed.
41

FILES

43       $PCP_PMDAS_DIR/memcache/memcache.conf
44           optional configuration file listing monitored memcache instances
45
46       $PCP_PMDAS_DIR/memcache/Install
47           installation script for the pmdamemcache agent
48
49       $PCP_PMDAS_DIR/memcache/Remove
50           undo installation script for the pmdamemcache agent
51
52       $PCP_LOG_DIR/pmcd/memcache.log
53           default log file for error messages from pmdamemcache
54

PCP ENVIRONMENT

56       Environment variables with the prefix PCP_ are used to parameterize the
57       file  and  directory  names used by PCP. On each installation, the file
58       /etc/pcp.conf contains the  local  values  for  these  variables.   The
59       $PCP_CONF  variable may be used to specify an alternative configuration
60       file, as described in pcp.conf(5).
61

SEE ALSO

63       PCPIntro(1) and pmcd(1).
64
65
66
67Performance Co-Pilot                  PCP                      PMDAMEMCACHE(1)
Impressum