PMDATRIVIAL(1)
π pmdatrivial β the trivially iconic performance metrics domain agent π
okay bestie, welcome to pmdatrivial(1), a page from the General Commands Manual, and honestly? she's small, she's cute, she's the blueprint. let's get into it π«Ά
β¨ NAME β¨
pmdatrivial β a trivial performance metrics domain agent, aka a PMDA. that's it. that's the whole name. she's simple and she knows it π
π¦ SYNOPSIS π¦
$PCP_PMDAS_DIR/trivial/pmdatrivial [-D debug] [-d domain] [-l logfile]
[-U username]
like look at her. four options. no notes. πΈ
π DESCRIPTION π
so pmdatrivial is literally the simplest possible Performance Metrics Domain Agent, and she exports exactly one performance metric: the time in seconds since the 1st of January, 1970. that's her whole thing. one metric. main character energy, minimal effort, ate π
the trivial PMDA ships as source code and she was designed to be an aid for PMDA developers β so if you're building your own agent, she's your study buddy, not your competition π§
here's a lil rundown of the pmdatrivial command line options, bestie:
-dβ this one is absolutely crucial, no cap. the performance metrics domain number you put here has to be unique and consistent. meaning:domainshould be different for every PMDA on the one host, and the samedomainnumber should be used for the same PMDA on all hosts. get this wrong and it's giving chaos π-lβ where the log file lives. by default, a log file namedtrivial.loggets written in the current directory ofpmcd(1)whenpmdatrivialis 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. she improvises π-Uβ the user account to run the agent under. 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 era vs. old era, iykyk β¨
π INSTALLATION π
if you want access to the names, help text and values for the trivial performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/trivial
# ./Install
and if you want to undo the installation (we've all been there, no shame), do this as root:
# cd $PCP_PMDAS_DIR/trivial
# ./Remove
heads up bestie:pmdatrivialis launched bypmcd(1)and should never be executed directly. like, ever. theInstallandRemovescripts notifypmcd(1)when the agent is installed or removed β they handle the whole situationship for you π«Ά
π FILES π
$PCP_PMCDCONF_PATHβ command line options used to launchpmdatrivial$PCP_PMDAS_DIR/trivial/helpβ default help text file for the trivial metrics$PCP_PMDAS_DIR/trivial/Installβ installation script for thepmdatrivialagent$PCP_PMDAS_DIR/trivial/Removeβ undo installation script for thepmdatrivialagent$PCP_LOG_DIR/pmcd/trivial.logβ default log file for error messages and other information frompmdatrivial
π 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 the $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). very configurable, very demure πΈ
π₯ 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. it's giving "for the girlies who write the code" π
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. go get your list, bestie πβ¨
π SEE ALSO π
PCPIntro(1), pmcd(1), pmdasample(1), pmdasimple(1), pmdatxmon(1) and PMDA(3). the whole friend group, obsessed with them π«Ά
and that's the page, babe! this one came to you from Performance Co-Pilot, the PCP girlies, under the title PMDATRIVIAL(1). stay trivial, stay iconic, and always check your domain numbers ππβ¨
π¦ 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) 2012 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