PMDASYSTEMD(1)
π PMDASYSTEMD β the systemd performance metrics domain agent π
okay bestie, so this is pmdasystemd(1), a General Commands Manual page, and it's all about the systemd PMDA. buckle up π
β¨ NAME β¨
pmdasystemd β systemd performance metrics domain agent (PMDA)
πΈ SYNOPSIS πΈ
$PCP_PMDAS_DIR/systemd/pmdasystemd [-f] [-D debug] [-d domain] [-l
logfile] [-m memory] [-s interval] [-U username]
π¦ DESCRIPTION π¦
pmdasystemd is a systemd log file monitoring Performance Metrics Domain Agent (PMDA). think of it as basically the -f option to journalctl(1) but with main character energy β it converts each new log line into a performance event, suitable for consumption by PMAPI(3) client tools like pmevent(1). iconic behavior fr fr π
The systemd PMDA exports both event-style metrics reflecting timestamped event records for messages logged to the system logs, and the more orthodox sample-style metrics such as message counts and throughput size values. so you get the whole vibe check, not just one β¨
here's the lowdown on the pmdasystemd command line options, no cap:
-ddomain β It is absolutely crucial that the performance metrics domain number specified here is 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. like, do not freestyle this one bestie π-fβ Disables per-uid/gid record filtering. By default the user and group credentials will be used to filter log records returned to the client tool, preventing information exposure to arbitrary users. This option disables that, so use only with extreme caution. π-llogfile β Location of the log file. By default, a log file namedsystemd.logis written in the current directory ofpmcd(1)whenpmdasystemdis 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.-mmemory β Limit the physical memory used by the PMDA to buffer event records to maxsize bytes. As log events arrive at the PMDA, they must be buffered until individual client tools request the next batch since their previous batch of events. The default maximum is 2 megabytes.-sinterval β Sets the polling interval for detecting newly arrived log lines. Mirrors the same option from thetail(1)command.-Uusername β User account under which to run the agent. The default is the"adm"user account.
π INSTALLATION π
If you want access to the names, help text and values for the systemd performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/systemd
# ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/systemd
# ./Remove
β οΈpmdasystemdis launched bypmcd(1)and should never be executed directly. TheInstallandRemovescripts notifypmcd(1)when the agent is installed or removed.
π FILES π
$PCP_PMCDCONF_PATHβ command line options used to launchpmdasystemd$PCP_PMDAS_DIR/systemd/helpβ default help text file for the systemd metrics$PCP_PMDAS_DIR/systemd/Installβ installation script for thepmdasystemdagent$PCP_PMDAS_DIR/systemd/Removeβ undo installation script for thepmdasystemdagent$PCP_LOG_DIR/pmcd/systemd.logβ default log file for error messages and other information frompmdasystemd
π 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). iykyk π
π 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. 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 pmdasystemd are as follows:
appl0β filtering of journal records, access control, interactions withpmcd(1)appl2β traceselect(2)calls
β SEE ALSO β
PCPIntro(1), pmcd(1), pmevent(1), journalctl(1), tail(1), PMAPI(3), pcp.conf(5) and pcp.env(5).
and that's the whole page bestie, slayed π
β¨ this lil masterpiece comes to you from Performance Co-Pilot / PCP β go off, PMDASYSTEMD(1) π«ΆπΈ
π¦ 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 Red Hat
- Copyright (c) 2000 Silicon Graphics, Inc. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms