PMDALMSENSORS(1)
π pmdalmsensors(1) β bestie edition π
okay so. this is the manual page for pmdalmsensors, and yeah the whole "PMDALMSENSORS(1)" thing at the top is just the fancy man-page name tag, but we're not doing that, we're doing this instead. sit down, grab a strawberry, let's go π
β¨ NAME β¨
pmdalmsensors β Linux hardware monitoring performance metrics domain agent (PMDA)
like. it's a PMDA. a Performance Metrics Domain Agent. for Linux hardware monitoring. that's the whole vibe π
β¨ SYNOPSIS β¨
$PCP_PMDAS_DIR/lmsensors/pmdalmsensors [debug]
yeah. that's it. that's the whole invocation. [debug] is optional, she's chill like that π«Ά
πΈ DESCRIPTION πΈ
so pmdalmsensors is a Performance Metrics Domain Agent (PMDA) and what she does is extract performance metrics describing the state of hardware using the lm-sensors software on compatible motherboards. compatible is doing a LOT of work in that sentence ngl π
and the lmsensors PMDA exports metrics that measure fan speeds and core temperatures. that's it. that's her whole job. iconic honestly. your fans and your cores. she's watching them. always. π
π INSTALLATION π
okay bestie, if you want access to the names, the help text and the values for the lmsensors performance metrics, you gotta do this as root:
# cd $PCP_PMDAS_DIR/lmsensors
# ./Install
yes. root. I said what I said. π
and if you want to undo the installation (no judgement, we've all been there), do this as root:
# cd $PCP_PMDAS_DIR/lmsensors
# ./Remove
now. important lore: pmdalmsensors.python is usually launched by pmcd(1), and not executed directly. running it by hand is mostly a debugging thing, iykyk π
and the Install and Remove scripts? they notify pmcd(1) when the agent is installed or removed. they keep pmcd in the loop. communication. we love to see it π
π OPTIONS π
so pmdalmsensors.python supports the following options. here we go:
-i,--injectβ inject data from file instead of using sensors. fake it till you make it, but like, on purpose, for testing π§ͺ-d,--debugβ debug level:0(default),1or2. zero is the default bestie, that's the "I'm fine" setting β¨-h,--helpβ show a help message. she will explain herself. slay.
and here's a lil tip for when pmdalmsensors.python is being run from PMCD but you still want options: you might want to use 'args' in the 'Install' script, for example
args="-i /path/static_sensors_output.txt"
periodt. that's the move. π
π¦ FILES π¦
$PCP_PMCDCONF_PATHβ command line options used to launchpmdalmsensors$PCP_PMDAS_DIR/lmsensors/helpβ default help text file for the lmsensors metrics$PCP_PMDAS_DIR/lmsensors/Installβ installation script for thepmdalmsensorsagent$PCP_PMDAS_DIR/lmsensors/Removeβ undo installation script for thepmdalmsensorsagent
look at her. organized. labeled. a whole queen with a whole file structure π
π PCP ENVIRONMENT π
so here's the tea: environment variables with the prefix PCP_ are used to parameterize the file and directory names used by PCP. fancy word, means they fill in the blanks β¨
on each installation, the file /etc/pcp.conf contains the local values for these variables. and the $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). options! choices! main character energy π
π SEE ALSO π
go read them. they're the supporting cast but they matter π«Ά
and that's the whole page, bestie!! this lil manual came to you courtesy of Performance Co-Pilot (that's the source, that's the version tag, that's the whole house π ) and she's filed under PCP, and the footer date stamp is justβ¦ whenever you're reading this, honestly. timeless. iconic. no cap. πβ¨π
π¦ 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
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· GPL-2.0-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.1.0-6.fc44 Β· 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 questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2014, 2018 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms