PMDAMEMCACHE(1)
π PMDAMEMCACHE(1) β the memcached PMDA, explained by your fave Unix bestie
okay so bestie, welcome to pmdamemcache, a General Commands Manual page for the Performance Co-Pilot (PCP) gang, and honestly? it's giving memcached metrics realness π§β¨
πΈ NAME πΈ
pmdamemcache β the memcached performance metrics domain agent (PMDA) π
π DESCRIPTION π
so this PMDA's whole job is to pull performance data out of memcached, which is a distributed memory caching daemon that people use all the time to make web serving faster. no cap.
here's the vibe: you can have a whole farm of memcached processes spread across multiple servers, and a single web application can use all of them together. the way that works is it bumps up your total available object cache size π and drops the database load that comes with having a smaller cache. iconic behaviour honestly.
and if you want the full lore, this system is described in detail at http://www.danga.com/memcached π¦
β¨ INSTALLATION β¨
first things first: you gotta configure pmdamemcache to pull values from the set of hosts in your memcache farm. list those hosts in the $PCP_PMDAS_DIR/memcache/memcache.conf file, in the format (i.e. a Perl array) described at the top of pmdamemcache.pl. you can also set a custom refresh rate using this same mechanism π
# cd $PCP_PMDAS_DIR/memcache
# [ edit memcache.conf ]
once that's set up, you can get at the names and values for the memcache performance metrics by doing this as root:
# cd $PCP_PMDAS_DIR/memcache
# ./Install
and if you ever wanna undo the installation (no judgement, we've all been there π«Ά), do this as root:
# cd $PCP_PMDAS_DIR/memcache
# ./Remove
π¨ important:pmdamemcachegets launched bypmcd(1)and should never be executed directly. theInstallandRemovescripts are the ones that notifypmcd(1)when the agent gets installed or removed. periodt.
π FILES π
$PCP_PMDAS_DIR/memcache/memcache.confβ optional config file listing the monitored memcache instances β$PCP_PMDAS_DIR/memcache/Installβ the installation script for thepmdamemcacheagent π₯$PCP_PMDAS_DIR/memcache/Removeβ the undo-the-installation script for thepmdamemcacheagent π$PCP_LOG_DIR/pmcd/memcache.logβ the default log file for error messages coming out ofpmdamemcacheπ
π PCP ENVIRONMENT π
environment variables with the prefix PCP_ are how you parameterize the file and directory names that PCP uses. on each installation, the file /etc/pcp.conf holds the local values for these variables. and the $PCP_CONF variable can be used to point at an alternative configuration file, as described in pcp.conf(5). iykyk π
π SEE ALSO π
PCPIntro(1) and pmcd(1). go read them, bestie, they're lowkey essential π
sign-off time πβ¨ this little love letter to memcached metrics came to you from Performance Co-Pilot β that's the PCP crew β and the page itself answers to the name PMDAMEMCACHE(1). date stamp? the original's footer didn't give us one, so we're leaving it exactly as mysterious as we found it π stay slaying, and remember: never run the agent directly. bye bestie ππ¦
π¦ where this page comes from
- arch rolling: pcp 7.2.2-2 Β· GPL-2.0-or-later AND LGPL-2.1-or-later AND CC-BY-3.0
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 43: pcp-doc 7.2.1-1.fc43
- fedora 43: pcp-doc 7.2.2-1.fc43
- fedora 43: pcp-doc 7.2.2-2.fc43 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.1.0-6.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- fedora 44: pcp-doc 7.2.1-1.fc44
- fedora 44: pcp-doc 7.2.2-1.fc44
- fedora 44: pcp-doc 7.2.2-2.fc44 Β· GPL-2.0-or-later AND CC-BY-3.0
- ubuntu questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2008 Aconex. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms