PMDANVIDIA(1)
π pmdanvidia β the nvidia GPU metrics domain agent (PMDA) π
okay bestie, welcome to PMDANVIDIA(1), straight outta the General Commands Manual section. this is the whole vibe, no skips, no skimming, we're doing all of it π«Ά
β¨ SYNOPSIS β¨
$PCP_PMDAS_DIR/nvidia/pmdanvidia [-D debug] [-d domain] [-l logfile] [-t interval]
πΈ DESCRIPTION πΈ
so pmdanvidia is a Performance Metrics Domain Agent, aka a PMDA (iykyk), and what it does is pull out performance metrics that describe the metrics available on NVIDIA GPU cards β by way of the NVML library. she's a little connector, that's her whole thing π
the nvidia PMDA exports metrics that measure gpu activity, memory utilization, fan speed, etc, on NVIDIA Tesla and Quadro cards. quick reality check though: metrics are unlikely to be available for consumer class cards. no cap, don't come for me.
here's a lil rundown of the pmdanvidia command line options, ok:
-dβ this one is absolutely crucial, like genuinely the most important thing here. the performance metrics domain number you specify has to be unique and consistent. meaning: 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. don't be chaotic about it π-lβ location of the log file. by default, a log file namednvidia.loggets written in the current directory ofpmcd(1)whenpmdanvidiais 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. she'll find a way β¨-tβ enables and sets a sampling interval for automatic refreshing of metric values. this functionality is disabled by default, but this option lets you specify a time interval on which all values are sampled β which has the effect of constantly updating the accumulating metrics, with the goal of assisting client tools such aspcp-atop(1)andpmlogger(1)to observe sub-sample time changes in GPU and process state. because typically these tools have longer sampling intervals, and can thus 'miss' activity happening during their sampling interval. so-tis basically the "bestie keep up" button πβοΈπ¨
π INSTALLATION π
the nvidia PMDA is not installed and available by default. she's exclusive, she's invite-only.
if you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/nvidia
# ./Remove
and if you want to establish access to the names, help text and values for the nvidia performance metrics once more, after removal, do the following as root:
# cd $PCP_PMDAS_DIR/nvidia
# ./Install
pmdanvidiais launched bypmcd(1)and should never be executed directly. theInstallandRemovescripts notifypmcd(1)when the agent is installed or removed. do not freelance this, bestie π
π¦ FILES π¦
$PCP_PMCDCONF_PATHβ command line options used to launchpmdanvidia$PCP_PMDAS_DIR/nvidia/helpβ default help text file for thenvidiametrics$PCP_PMDAS_DIR/nvidia/Installβ installation script for thepmdanvidiaagent$PCP_PMDAS_DIR/nvidia/Removeβ undo installation script for thepmdanvidiaagent$PCP_LOG_DIR/pmcd/nvidia.logβ default log file for error messages and other information frompmdanvidia
π 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). the way that config just *works*β¦ obsessed π
π₯ 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 if it reads like nonsense, it's not you, it's the vibes π
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 pmdanvidia are as follows:
appl0β interaction withpmcd(1)appl1β loading thelibnvidia-mlDSOappl2β traceselect(2)calls
π SEE ALSO π
PCPIntro(1), pcp-atop(1), pmcd(1), pmlogger(1), pcp.conf(5) and pcp.env(5). go read them, they're iconic, periodt πβ¨
and that's the whole page, bestie! this one came from Performance Co-Pilot, tagged PCP, page PMDANVIDIA(1) β sending you all the love and all the sub-sample time changes π©·π§π
π¦ 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,2021 Red Hat
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms