PMDANUTCRACKER(1)
π PMDANUTCRACKER(1) β bestie edition π
okay so. this is a page from the General Commands Manual, and it's all about pmdanutcracker, a NutCracker performance metrics domain agent (aka a PMDA). buckle up, it's actually not that long π
β¨ NAME β¨
pmdanutcracker β the NutCracker performance metrics domain agent, aka a PMDA π
π¦ DESCRIPTION π¦
so this PMDA literally pulls performance data out of NutCracker (you might also know it as TwemProxy), which is a fast and lightweight proxy for the memcached and Redis protocol. it's giving middle-manager-but-make-it-speedy β¨
π INSTALLATION π
first things first, bestie: you gotta set NutCracker up so it exports its statistics through its stats interface β that's the --stats-port option on the nutcracker server, iykyk. and then you gotta mirror that config over in the $PCP_PMDAS_DIR/nutcracker/nutcracker.conf file, or none of this works π
# cd $PCP_PMDAS_DIR/nutcracker
# [ edit nutcracker.conf ]
once that's all set up, you can go peek at the names and values for the nutcracker performance metrics by doing this as root π
# cd $PCP_PMDAS_DIR/nutcracker
# ./Install
and when you're done and you wanna uninstall? also as root:
# cd $PCP_PMDAS_DIR/nutcracker
# ./Remove
lowkey important: pmdanutcracker gets launched by pmcd(1) and should never be executed directly, okay? don't do it. the Install and Remove scripts are the ones that notify pmcd(1) when the agent gets installed or removed, so let them do their job π
πΈ FILES πΈ
$PCP_PMDAS_DIR/nutcracker/nutcracker.confβ the mandatory configuration file, listing the memcache or Redis instances being monitored. mandatory means mandatory fr fr π$PCP_PMDAS_DIR/nutcracker/Installβ the installation script for thepmdanutcrackeragent π«Ά$PCP_PMDAS_DIR/nutcracker/Removeβ the undo-installation script for thepmdanutcrackeragent, the reverse uno card π$PCP_LOG_DIR/pmcd/nutcracker.logβ the default log file wherepmdanutcrackerdrops its error messages π
π§ PCP ENVIRONMENT π§
environment variables with the PCP_ prefix are what parameterize all the file and directory names PCP uses β main character energy for config, honestly β¨
on every installation, the file /etc/pcp.conf holds the local values for these variables. and if you wanna point at a different configuration file, the $PCP_CONF variable is your girl β it's described over in pcp.conf(5) π
π SEE ALSO π
PCPIntro(1), pmcd(1), pmdamemcache(1) and pmdaredis(1) β go read those too, they're iconic β
and that's the whole vibe, bestie π this page came to you from Performance Co-Pilot, version PCP, and it's the PMDANUTCRACKER(1) page from the General Commands Manual. slay, go monitor some proxies πβ¨π¦
π¦ where this page comes from
- arch rolling: pcp-pmda-nutcracker 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) 2017 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms