PMDASUMMARY(1)
π PMDASUMMARY π
okay bestie, so this is the manual page for pmdasummary, from section 1 of the General Commands Manual β aka the summary performance metrics domain agent (PMDA). yes that's a mouthful, we'll get through it together π«Ά
β¨ SYNOPSIS β¨
$PCP_PMDAS_DIR/summary/pmdasummary [-D debug] [-d domain] [-h helpfile]
[-l logfile] [-U username] pmie-command-line
πΈ DESCRIPTION πΈ
pmdasummary is a Performance Metrics Domain Agent (PMDA) β and no, it doesn't measure stuff itself, it's giving derived energy π . It takes values that other PMDAs already made available and computes new performance metric values out of them.
It's literally two processes living their best lives together:
- pmie process β the inference engine for performance values,
pmie(1), is used to periodically sample values for the base metrics and compute the derived values. This process gets launched with thepmie-command-linearguments you pass in, by the main process (described right below, bestie, don't worry). - main process β the main process reads and buffers the values computed by
pmie(1)and makes them available to the performance metrics collector daemonpmcd(1). it's the middleman and honestly it's thriving β¨
so here's a quick rundown of the pmdasummary command line options:
-dβ this one is absolutely crucial, no cap. The performance metrics domain number you specify here has to be unique and consistent. Like,domainshould 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 mess with this one, fr fr π-hβ specifies an alternative help text file, helpfile, for describing the metrics thatpmdasummaryrepresents.-lβ where the log file lives. By default, a log file namedsummary.logis written in the current directory ofpmcd(1)whenpmdasummaryis started, i.e.$PCP_LOG_DIR/pmcd. And if the log file cannot be created or is not writable? output goes to the standard error instead. the fallback queen π-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. glow-up behavior honestly π
π INSTALLATION π
If you want access to the names, help text and values for the summary performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/summary
# ./Install
And if you want to undo the installation (we've all been there, no shame), do the following as root:
# cd $PCP_PMDAS_DIR/summary
# ./Remove
important vibe check:pmdasummaryis launched bypmcd(1)and should never be executed directly. do not come for it. TheInstallandRemovescripts notifypmcd(1)when the agent is installed or removed, so they handle the whole situationship for you π«Ά
π¦ FILES π¦
$PCP_PMCDCONF_PATHβ command line options used to launchpmdasummary$PCP_PMDAS_DIR/summary/expr.pmieβ defaultpmie(1)expressions defining the summary metrics$PCP_PMDAS_DIR/summary/helpβ default help text for the summary metrics$PCP_PMDAS_DIR/summary/Installβ installation script for thepmdasummaryagent$PCP_PMDAS_DIR/summary/Removeβ undo installation script for thepmdasummaryagent$PCP_LOG_DIR/pmcd/summary.logβ default log file for error messages and other information frompmdasummary
π 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). it's giving configuration inception π
π 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. 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. iykyk π
β SEE ALSO β
PCPIntro(1), pmcd(1) and pmie(1).
and that's the whole page, bestie!! go forth and summarize some metrics, you absolute icon πβ¨
Performance Co-Pilot β PCP β PMDASUMMARY(1) π¦ mwah, drink water, and remember: never run it directly π
π¦ 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
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms