PMDAMOUNTS(1)
π PMDAMOUNTS(1) β the glow-up edition π
okay so you're reading the manual page for pmdamounts, and it lives in the General Commands Manual section. She's a Performance Co-Pilot girlie, bestie, and she's here to tell you whether your filesystems are up or down. π¦
β¨ NAME β¨
pmdamounts</purl> β the filesystem mounts performance metrics domain agent, aka PMDA. That's literally her whole job title and she's serving it. π
πΈ SYNOPSIS πΈ
$PCP_PMDAS_DIR/mounts/pmdamounts [-D debug] [-d domain] [-l logfile] [-U username]
no cap, that's the whole invocation. Four little options, one big vibe. β¨
π DESCRIPTION π
pmdamounts is a simple Performance Metrics Domain Agent β a PMDA β whose whole thing is monitoring the availability of a given set of filesystem mounts. That's it. That's the assignment. π«Ά
The mounts PMDA exports metrics that reflect whether the configured filesystems are mounted (that's "up") or not. The list of mount points to monitor is specified via the $PCP_PMDAS_DIR/mounts/mounts.conf file, which is honestly so chill β it just contains one line for each mount point. Simple. Iconic. No drama. π
A brief description of the pmdamounts command line options follows, and yes bestie, we're going through every single one:
-dβ listen closely because this one MATTERS: it is absolutely crucial that the performance metrics domain number specified here is unique and consistent. Like, that's the whole rule. The domain should be different for every PMDA on the one host, and the same domain number should be used for the same PMDA on all hosts. Consistency is the main character here. π-lβ where the log file goes. By default, a log file namedmounts.logis written in the current directory ofpmcd(1)whenpmdamountsis started, i.e.$PCP_LOG_DIR/pmcd. And heads up: if the log file cannot be created or is not writable, output is written to the standard error instead. She'll find a way to be heard. π-Uβ the user account under which to run the agent. The default is the unprivileged "pcp" account in current versions of PCP, but in older versions the superuser account ("root") was used by default. So like, generational difference, iykyk. π
π INSTALLATION π
If you want access to the names, help text and values for the mounts performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/mounts
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/mounts
# ./Remove
pmdamounts is launched by pmcd(1) and should never be executed directly. not me running it myself β do NOT do that, bestie, it's giving chaos. π
The Install and Remove scripts notify pmcd(1) when the agent is installed or removed, so the communication is handled. She's a good friend like that. π«Ά
π¦ FILES π¦
$PCP_PMCDCONF_PATHβ command line options used to launchpmdamounts$PCP_PMDAS_DIR/mounts/helpβ default help text file for the mounts metrics$PCP_PMDAS_DIR/mounts/Installβ installation script for thepmdamountsagent$PCP_PMDAS_DIR/mounts/Removeβ undo installation script for thepmdamountsagent$PCP_LOG_DIR/pmcd/mounts.logβ default log file for error messages and other information frompmdamounts
the way that every single one of these is documentedβ¦ we love a thorough queen. β¨
π PCP ENVIRONMENT π
Environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. On each installation, the file /etc/pcp.conf contains the local values for these variables. The $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). config files are self care, periodt. π
π DEBUGGING OPTIONS π
The -D or --debug option enables the output of additional diagnostics on stderr to help triage problems β although ngl, the information is sometimes cryptic and primarily intended to provide guidance for developers rather than for end-users. So like, it's giving insider info. π€«
debug is a comma separated list of debugging options; use pmdbg(1) with the -l option to obtain a list of the available debugging options and their meaning. Go get that list, bestie. π
β SEE ALSO β
PCPIntro(1), pmcd(1), pcp.conf(5) and pcp.env(5). the friend group fr fr. π«Ά
okay that's the whole page!! π
This one came to you from Performance Co-Pilot β that's the PCP of it all β under the name PMDAMOUNTS(1). mwah, go check your mounts, ily π β¨
π¦ 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