PMDANETFILTER(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

πŸ’– pmdanetfilter(1) β€” the netfilter IP connection tracking PMDA πŸ’–

okay bestie, welcome to the man page for pmdanetfilter, straight out of the General Commands Manual section of the Unix manual. she's a Performance Metrics Domain Agent, she lives in PCP land, and she's here to spill the tea on your kernel's IP connection tracking. let's get into it 🫢


✨ NAME ✨

pmdanetfilter β€” Linux netfilter IP connection tracking performance metrics domain agent (PMDA). yes, that whole mouthful is her government name πŸ’…


🌸 DESCRIPTION 🌸

so like, pmdanetfilter is a Performance Metrics Domain Agent (PMDA, iykyk), and her whole job β€” her entire main character era β€” is exporting metric values from the IP connection tracking module in the Linux kernel. that's it. that's the gig. she takes your kernel's conntrack numbers and serves them up to PCP. lowkey iconic πŸ”₯


πŸŽ€ INSTALLATION πŸŽ€

wanna install the netfilter PMDA? you gotta use the Install script, and you gotta do it as root. no cap, root only:

# cd $PCP_PMDAS_DIR/netfilter
# ./Install

and if you ever wanna break up with her (😭), the uninstall also has to happen as root:

# cd $PCP_PMDAS_DIR/netfilter
# ./Remove
heads up bestie: pmdanetfilter is launched by pmcd(1) and should never be executed directly. like, ever. don't do it. the Install and Remove scripts are the ones that go tell pmcd(1) when the agent gets installed or removed β€” that's their whole thing πŸ’«

πŸ¦‹ FILES πŸ¦‹

here's where all her stuff lives, bestie:

  • $PCP_PMDAS_DIR/netfilter/Install β€” the installation script for the pmdanetfilter agent ✨
  • $PCP_PMDAS_DIR/netfilter/Remove β€” the undo installation script for the pmdanetfilter agent (the breakup script πŸ’”)
  • $PCP_LOG_DIR/pmcd/netfilter.log β€” the default log file where error messages from pmdanetfilter go to vent πŸ“

🌈 PCP ENVIRONMENT 🌈

so PCP uses environment variables with the prefix PCP_ to parameterize all the file and directory names it works with. cute, right?

on every installation, the file /etc/pcp.conf holds the local values for these variables. and if you wanna be extra and use a different config file, the $PCP_CONF variable lets you specify an alternative configuration file β€” exactly as described in pcp.conf(5). periodt πŸ’…


πŸ‘‘ SEE ALSO πŸ‘‘

go read PCPIntro(1) and pmcd(1). fr fr, they're the supporting cast and they matter πŸ’œ


Performance Co-Pilot ✦ PCP ✦ PMDANETFILTER(1)

and that's a wrap, bestie πŸŽ€ this lil page came to you courtesy of Performance Co-Pilot (PCP) and it's filed under PMDANETFILTER(1) in the General Commands Manual. go forth and track those connections πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from