PMDACHRONY(1)

πŸ“¦ version 7.2.2, in arch rolling, fedora 43, fedora 44, ubuntu stonking

✨ PMDACHRONY ✨

okay bestie, welcome to the pmdachrony manual page, from the General Commands Manual section πŸ’… this one's short and sweet but lowkey important, so let's get into it 🫢


🌸 NAME 🌸

pmdachrony β€” the chronyd PMDA πŸ’–


πŸ¦‹ DESCRIPTION πŸ¦‹

so pmdachrony is a Performance Metrics Domain Agent, aka a PMDA (iykyk πŸ‘‘). what does it do? it exports metric values straight outta chronyd, the way they get exposed by the chronyc utility ✨

that's it. that's the whole job. it's giving "middle manager for your clock metrics" and honestly? slay πŸ’…


πŸŽ€ INSTALLATION πŸŽ€

wanna install the chrony PMDA? you gotta use the Install script, and you gotta be root for it, no cap πŸ‘‘

# cd $PCP_PMDAS_DIR/chrony
# ./Install

and when you're over it and wanna uninstall? same energy, still as root:

# cd $PCP_PMDAS_DIR/chrony
# ./Remove

okay now here's the part that matters 🚨 pmdachrony is launched by pmcd(1) and should never be executed directly. like, ever. do not do it. not even once. πŸ™ˆ

also cute detail: the Install and Remove scripts will notify pmcd(1) whenever the agent gets installed or removed, so it always knows what's up πŸ“£


🌈 FILES 🌈

  • $PCP_PMDAS_DIR/chrony/Install β€” the installation script for the pmdachrony agent 🧚
  • $PCP_PMDAS_DIR/chrony/Remove β€” the undo-installation script for the pmdachrony agent (yes, the reverse button) πŸ’œ
  • $PCP_LOG_DIR/pmcd/chrony.log β€” the default log file where pmdachrony drops its error messages when things go sideways 😭

⭐ PCP ENVIRONMENT ⭐

so PCP uses env vars with the prefix PCP_ to parameterize all the file and directory names it works with, and they're literally everywhere 🫢

every time you install, the file /etc/pcp.conf holds the local values for these variables πŸ“

and if you wanna point at a different config file? you can, using the $PCP_CONF variable β€” it lets you specify an alternative configuration file, exactly as described in pcp.conf(5) ✨


πŸ‘‘ SEE ALSO πŸ‘‘

PCPIntro(1), pmcd(1), chronyc(1) and chronyd(8) πŸ’–

go read those, bestie, they're the supporting cast πŸŽ€


Performance Co-Pilot Β· PCP Β· PMDACHRONY(1)

and that's the whole page, babe πŸ’… that source/version + date situation at the bottom is your lil sign-off β€” Performance Co-Pilot, PCP, PMDACHRONY(1) β€” so go forth, install your chrony PMDA as root, and never ever run pmdachrony by hand. mwah πŸ’–πŸ¦‹πŸŒΈ

πŸ“¦ where this page comes from