PMDADENKI(1)
π PMDADENKI π
okay bestie, gather round, because this one is literally about how much electricity your machine is out here eating. it's pmdadenki, a manual page from the PCP (Performance Co-Pilot) crew, and it's giving main character energy for power metrics. π
β¨ NAME β¨
pmdadenki β metrics related to the systems electrical consumption
π SYNOPSIS π
$PCP_PMDAS_DIR/denki/pmdadenki [-D debug] [-d domain] [-l logfile]
π₯ DESCRIPTION π₯
so pmdadenki is a Performance Metrics Domain Agent (PMDA) β that's the little worker bee that goes out and extracts electricity related performance metrics. that's its whole job. that's the assignment. π
right now, the metrics it can pull are:
- stuff from the Running Average Power Limit (RAPL) Intel CPU feature π₯οΈ
- battery charge values π
...but only if supported by the hardware. so if your box doesn't have the goods, no metrics for you, sorry babe. π
now, about -l β this one sets the Location of the log file. by default, a log file named denki.log gets written in the current directory of pmcd(1) when pmdadenki is started, i.e. $PCP_LOG_DIR/pmcd. and if the log file cannot be created or is not writable? then output is written to the standard error instead. no log file, no problem, we just yell into stderr. π
πΈ INSTALLATION πΈ
the denki PMDA is installed and available by default on Linux. so like, you already have it, bestie. no cap.
if you wanna undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/denki
# ./Remove
and if you want to establish access to the names, help text and values for the denki metrics once more, after removal, do the following as root:
# cd $PCP_PMDAS_DIR/denki
# ./Install
β οΈ important:pmdadenkiis launched bypmcd(1)and should never be executed directly. it's not a solo artist, it's a group project. theInstallandRemovescripts notifypmcd(1)when the agent is installed or removed, so everything stays in sync. π«Ά
π¦ FILES π¦
$PCP_PMCDCONF_PATHβ command line options used to launchpmdadenki$PCP_PMDAS_DIR/denki/helpβ default help text file for thedenkimetrics$PCP_PMDAS_DIR/denki/Installβ installation script for thepmdadenkiagent$PCP_PMDAS_DIR/denki/Removeβ undo installation script for thepmdadenkiagent$PCP_LOG_DIR/pmcd/denki.logβ default log file for error messages and other information frompmdadenki
π 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. and plot twist β 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. lowkey though, the information is sometimes cryptic and primarily intended to provide guidance for developers rather than for end-users. don't say we didn't warn you. π
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 pmdadenki are as follows:
appl0β verbose diagnostics
π SEE ALSO π
PCPIntro(1), pmcd(1), denki/README file, pcp.conf(5) and pcp.env(5).
and that's the whole vibe check, bestie. this page came to you straight from the Performance Co-Pilot girlies at PCP β PMDADENKI(1), slay, 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) 2021-2025 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms