PMDANFSCLIENT(1)

πŸ“¦
version 7.2.2 Β· 2 versions
, in arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– PMDANFSCLIENT(1) β€” the General Commands Manual page, but make it cute πŸ’–

okay so bestie, welcome to PMDANFSCLIENT, straight out of the General Commands Manual section of your fave system docs. sit down, grab a boba, and let's get into it πŸ§‹βœ¨


✨ NAME ✨

pmdanfsclient β€” the NFS client statistics performance metrics domain agent (aka a PMDA, which is giving very much "Performance Metrics Domain Agent" energy πŸ’…)


🌸 DESCRIPTION 🌸

okay so pmdanfsclient is a Performance Metrics Domain Agent (PMDA) β€” literally what it says on the tin, no cap. what does it DO though? it exports metric values from the /proc/self/mountstats interface, and the whole point of that is to hand you the tea β˜• on your NFS mounts. that's it. that's the job. and it ate. πŸ”₯


πŸŽ€ INSTALLATION πŸŽ€

wanna install the nfsclient PMDA? slay, here's the vibe β€” you gotta be root for this, no exceptions bestie πŸ‘‘

# cd $PCP_PMDAS_DIR/nfsclient
# ./Install

and when you're done and you wanna uninstall? also root, also a whole thing, here's the ritual πŸ™ˆ

# cd $PCP_PMDAS_DIR/nfsclient
# ./Remove

now listen, super important, do NOT skip this part: pmdanfsclient gets launched by pmcd(1) and should never be executed directly. like, never ever. it's not a "run it yourself" situation, it's a "let pmcd handle it" situation, iykyk 🫢

also cute detail: the Install and Remove scripts notify pmcd(1) when the agent gets installed or removed. so it always knows what's up. communication queen πŸ’…


πŸ¦‹ FILES πŸ¦‹

here's the file lineup, and yes every single one matters:

  • $PCP_PMDAS_DIR/nfsclient/Install β€” the installation script for the pmdanfsclient agent πŸ› οΈ
  • $PCP_PMDAS_DIR/nfsclient/Remove β€” the undo-installation script for the pmdanfsclient agent (the "jk, take it back" button) ↩️
  • $PCP_LOG_DIR/pmcd/nfsclient.log β€” the default log file where pmdanfsclient drops its error messages, so if something's acting up, this is where the receipts live πŸ“

🌈 PCP ENVIRONMENT 🌈

okay so environment variables with the prefix PCP_ are the ones that parameterize the file and directory names that PCP uses. very "these names are customizable actually" of them ✨

on each installation, the file /etc/pcp.conf contains the local values for these variables. that's the home base for all your local config, bestie 🏠

and plot twist β€” you can use the $PCP_CONF variable to point at an alternative configuration file instead, as described over in pcp.conf(5). options! we love options! πŸ’–


πŸ‘‘ SEE ALSO πŸ‘‘

go read these next, they're all part of the lore:


⭐ friendly reminder: if you're about to run pmdanfsclient by hand, don't. pmcd(1) is its ride-or-die and it does not need a plus-one πŸ’€

and that's the whole page, periodt πŸ’…βœ¨ this lil masterpiece comes to you courtesy of Performance Co-Pilot / PCP β€” that's the source and the version right there, and the footer's date is the doc date, so now you know where it came from 🫢 bye bestie, go read your metrics πŸ’–πŸŒΈ

πŸ“¦ where this page comes from