PMDATXMON(1)
π PMDATXMON(1) π
okay bestie, pull up a chair, we're talking about pmdatxmon, txrecord, and genload β the whole txmon performance metrics domain agent (PMDA) squad π (that's the page title, iykyk)
β¨ NAME β¨
pmdatxmon, txrecord, genload β the txmon performance metrics domain agent (PMDA), no cap π
πΈ SYNOPSIS πΈ
$PCP_PMDAS_DIR/txmon/pmdatxmon [-D debug] [-d domain] [-l logfile] [-U
username] tx_type ...
$PCP_PMDAS_DIR/txmon/txrecord [-l]
$PCP_PMDAS_DIR/txmon/txrecord tx_type servtime [tx_type servtime ... ]
$PCP_PMDAS_DIR/txmon/genload
π¦ DESCRIPTION π¦
so pmdatxmon is an example Performance Metrics Domain Agent (PMDA) that exports a lil handful of performance metrics from a simulated transaction monitor. it's giving demo energy but make it useful π
the txmon PMDA ships as both binary and source code, and it's literally designed to be an aid for PMDA developers. what it's doing is showing you how performance data can be exported from an application (in this case txrecord) into the PCP infrastructure via a shared memory segment. and because convenience is the moment, pmdatxmon creates that shared memory segment for you β and destroys it on exit π«Ά
the tx_type arguments are arbitrary unique tags used to identify different transaction types. pick your faves β¨
the txrecord application simulates processing one or more transactions identified by tx_type, with an observed service time of servtime. (note the space before that period in the original β we respect the vibe π)
with the -l option, txrecord displays the current summary of the transaction activity from the shared memory segment. like a little status report, slay π
genload is a shell and awk(1) script that acts as a front-end to txrecord, generating a constant load of simulated transaction activity. stress test but make it cute π₯
a brief rundown of the pmdatxmon command line options, bestie:
-dβ bestie, listen to me. it is absolutely crucial that the performance metrics domain number you specify here is unique and consistent. that meansdomainshould be different for every PMDA on the one host, AND the samedomainnumber should be used for the same PMDA on all hosts. do not play with this one π-lβ location of the log file. by default, a log file namedtxmon.loggets written in the current directory ofpmcd(1)whenpmdatxmonis started, i.e.$PCP_LOG_DIR/pmcd. if the log file can't be created or isn't writable, output goes to standard error instead. so it always ends up somewhere π-Uβ the user account under which to run the agent. 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 moment β¨
π INSTALLATION π
if you want access to the names, help text and values for the txmon performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/txmon
# ./Install
you will be prompted for the tx_type tags π
if you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/txmon
# ./Remove
pmdatxmon is launched by pmcd(1) and should never be executed directly. like, ever. the Install and Remove scripts notify pmcd(1) when the agent is installed or removed, so it's all handled, no cap π«Ά
π FILES π
$PCP_PMCDCONF_PATHβ command line options used to launchpmdatxmon$PCP_PMDAS_DIR/txmon/helpβ default help text file for the txmon metrics$PCP_PMDAS_DIR/txmon/Installβ installation script for thepmdatxmonagent$PCP_PMDAS_DIR/txmon/Removeβ undo installation script for thepmdatxmonagent$PCP_LOG_DIR/pmcd/txmon.logβ default log file for error messages and other information frompmdatxmon
π 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. so if you're confused, it's not just you π
debug is a comma separated list of debugging options; use pmdbg(1) with the -l option to get a list of the available debugging options and their meaning. go get that list, bestie π
debugging options specific to pmdatxmon are as follows:
appl0β shared memory operations
π₯ SEE ALSO π₯
PCPIntro(1), pmcd(1), pmdasample(1), pmdatrivial(1), txmonvis(1) and PMDA(3). go read them, they're iconic π
and that's the whole page, bestie!! this one came from Performance Co-Pilot (PCP), and it's the PMDATXMON(1) page π tysm for reading, you ate, periodt β¨π¦π
π¦ 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