PMDAROOT(1)
π PMDAROOT π
okay bestie, gather round, because this is pmdaroot from the General Commands Manual section and she is that girl β a privileged PMCD helper performance metrics domain agent, no cap. π
β¨ NAME β¨
pmdaroot β a privileged PMCD helper performance metrics domain agent π¦
β¨ SYNOPSIS β¨
$PCP_PMDAS_DIR/root/pmdaroot [-D debug] [-d domain] [-l logfile] [-s sockname]
β¨ DESCRIPTION β¨
pmdaroot is a special Performance Metrics Domain Agent (PMDA) which cooperates closely with pmcd(1) and other PMDAs to provide limited privileged services to these unprivileged processes. it's giving backstage pass energy fr fr π
In this role it is used to discover operating system containers running on the local host. it also enables access to performance data from within those containers by other PMDAs running on the bare-metal host, using the pmdaRootConnect(3) and the associated namespace interfaces. iconic behavior honestly β¨
Like all other PMDAs, it also exports performance metrics from the domain it controls. Currently, this is limited to information about the containers on the local system; currently Docker and LXC containers can be detected. π³π¦
If a non-default Docker parent-cgroup name is being used, this value can be indicated to pmdaroot through addition of a $PCP_SYSTEMD_CGROUP variable in /etc/pcp.conf. noted, bestie π«Ά
-dβ okay so this one is absolutely crucial: the performance metrics domain number specified here must be unique and consistent. That is, 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. do not play with this one, periodt. π-lβ location of the log file. By default, a log file namedroot.logis written in the current directory ofpmcd(1)whenpmdarootis started, i.e.$PCP_LOG_DIR/pmcd. If the log file cannot be created or is not writable, output is written to the standard error instead. π-sβ location of theunix(7)domain socket for communication with clients seeking privileged operations. By default, a socket file named$PCP_TMP_DIR/pmcd/root.socketis used. π
β¨ INSTALLATION β¨
Access to the names, help text and values for the kernel performance metrics is available by default β unlike most other agents, no action is required to enable them and they should not be removed. she comes pre-installed, she's low maintenance, she's the moment. ππΈ
β¨ FILES β¨
$PCP_PMDAS_DIR/root/helpβ default help text file for metrics exported by the root PMDA. π$PCP_LOG_DIR/pmcd/root.logβ default log file for error messages and other information from the root PMDA. π$PCP_VAR_DIR/pmcd/root.socketβ default socket file for communication with root PMDA clients. π
β¨ 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). π
β¨ DEBUGGING OPTIONS β¨
The -D or --debug option enables the output of additional diagnostics on stderr to help triage problems, although the information is sometimes cryptic and primarily intended to provide guidance for developers rather than for end-users. ngl bestie, this is dev territory π§ 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.
Debugging options specific to pmdaroot are as follows:
appl0β interactions withpmcd(1)π«±appl1β PMDA startup processing π
β¨ SEE ALSO β¨
PCPIntro(1), pmcd(1), PMDA(3), pmdaRootConnect(3), pcp.conf(5) and unix(7). go read them, they're all slay π
and that's the whole vibe check, bestie β this page came to you courtesy of Performance Co-Pilot, a.k.a. PCP, filed under PMDAROOT(1) because she is the moment. mwah π
πβ¨
π¦ 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-2015 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms