PMDACIFS(1)
π pmdacifs π
okay bestie, welcome to the manual page for pmdacifs β it lives in section 1 of the General Commands Manual, and it's genuinely one of those little guys that does a lot π
β¨ NAME β¨
pmdacifs β the Common Internet Filesystem (CIFS) PMDA π«Ά
πΈ SYNOPSIS πΈ
$PCP_PMDAS_DIR/cifs/pmdacifs [-D debug]
π¦ DESCRIPTION π¦
So pmdacifs is a Performance Metrics Domain Agent (PMDA) β and no, that's not a scary word, it just means it's the little agent that hands performance metrics over to the rest of the PCP crew β¨
Specifically, it exports metric values about mounted CIFS shares, pulling them straight out of the /proc/fs/cifs directory. iykyk π
Two things it needs to actually do its job, and I need you to hear me on this:
- The CIFS kernel module has to be loaded β at minimum β to return some metric values.
- You need at least one mounted CIFS share in order to get data for all the metrics.
So likeβ¦ no mount, no full data. it's giving "empty plate at the function" π
π INSTALLATION π
Installing the CIFS PMDA is a root situation, bestie. Use the Install script:
# cd $PCP_PMDAS_DIR/cifs
# ./Install
And when you want it gone β uninstall time, no hard feelings β this also has to be done as root:
# cd $PCP_PMDAS_DIR/cifs
# ./Remove
β οΈ Important, and I mean it:pmdacifsis launched bypmcd(1)and should never be executed directly. Let the daemon do its thing, okay? π
The Install and Remove scripts are the ones that notify pmcd when the agent gets installed or removed β so they're handling the communication for you, you don't have to π
π FILES π
$PCP_PMDAS_DIR/cifs/helpβ the default help text file for the CIFS metrics π$PCP_PMDAS_DIR/cifs/Installβ the installation script for thepmdacifsagent β$PCP_PMDAS_DIR/cifs/Removeβ the undo-installation script for thepmdacifsagent π$PCP_LOG_DIR/pmcd/cifs.logβ the default log file for error messages frompmdacifsπ
π PCP ENVIRONMENT π
Environment variables that start with the prefix PCP_ are the ones that parameterize the file and directory names PCP uses β so that's the naming system in play here π§
On every installation, the file /etc/pcp.conf holds the local values for these variables. And if you want a different configuration file, you can point the $PCP_CONF variable at it β pcp.conf(5) explains all that if you wanna go deeper π«
π₯ DEBUGGING OPTIONS π₯
-D,--debugβ turns on extra diagnostics printed tostderr, which helps triage problems. Fair warning though: the info is sometimes cryptic and is primarily meant to guide developers rather than end-users πdebugis a comma separated list of debugging options β and to see the available debugging options and what they mean, runpmdbg(1)with the-loption.
π SEE ALSO π
PCPIntro(1), pmcd(1), pmstore(1) and mount.cifs(8).
and that's the whole page, bestie β you ate that π β¨
this one's from Performance Co-Pilot (that's the PCP situation π), and it's the PMDACIFS(1) page, periodt ππ¦πΈ
π¦ 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
- 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.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 stonking: pcp 7.2.1-2build1
- Copyright (c) 2014 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms