PMDA(3)
π PMDA(3) β the intro to the Performance Metrics Domain Agent support library π
okay bestie, welcome to PMDA(3) from the Library Functions Manual. This is the group chat for building your very own Performance Metrics Domain Agent, and honestly? it's giving main character energy. Let's get into it. β¨
πΈ NAME πΈ
PMDA β introduction to the Performance Metrics Domain Agent support library. That's the whole vibe. It's the "hi hello, here's how you build a PMDA" page. π«Ά
β¨ C SYNOPSIS β¨
#include <pcp/pmapi.h>
#include <pcp/pmda.h>
... assorted routines ...
cc ... -lpcp_pmda -lpcp
So you're pulling in both headers and linking against -lpcp_pmda and -lpcp. Note the ... assorted routines ... in the middle β yes, that's literally what it says, this page is the intro, not the whole menu. π
π DESCRIPTION π
So here's the deal. To help you build Performance Metric Domain Agents (PMDAs) for the Performance Co-Pilot (PCP), there's a procedural interface. It's an extension of the Performance Metrics Application Programming Interface β that's PMAPI(3) to you and me.
These procedures are designed to let a programmer build a PMDA fast, then test it, then refine it. Iconic. But β and this is important β that also means a PMDA has a particular structure, and that structure might not suit every single PMDA implementation. No cap. π«
Once you're comfy with the PCP and PMDA frameworks, you can spin up a new PMDA with just a few data structures and functions. If you want the deep lore, it's covered in far greater detail in the Performance Co-Pilot Programmer's Guide.
A PMDA is responsible for a set of performance metrics. Meaning: it must respond to requests from pmcd(1) for info about performance metrics, instance domains, and instantiated values. That's the job description, bestie. π
This man page contains sections of the simple PMDA, which lives at $PCP_PMDAS_DIR/simple. Cute little reference implementation, we stan. π
π COMMUNICATING WITH PMCD π
There are two approaches for connecting a PMDA to a pmcd(1) process:
- A Dynamic Shared Object (DSO) can be attached by
pmcd(1)usingdlopen(3)when thepmcd(1)process is started. A procedural interface, referenced through a shared data structure, handles requests frompmcd(1)to the PMDA. - The preferred approach β¨ is a separate process (a daemon) that talks to
pmcd(1)using the Performance Data Units (PDU) Inter-Process Communication (IPC) protocol.
All PMDAs are launched and controlled by the pmcd(1) process on the local host. Clients send requests, pmcd(1) receives them, and forwards them to the appropriate PMDAs. Responses, when they're needed, come back through pmcd(1) to the clients. Chain of command, fr fr. π¬
The requests (PDUs) that may be sent to a PMDA from pmcd(1) are:
PDU_FETCHPDU_PROFILEPDU_INSTANCE_REQPDU_DESC_REQPDU_TEXT_REQPDU_RESULT
And if the PMDA implements any dynamic metrics, it may also receive:
PDU_PMNS_CHILDPDU_PMNS_IDSPDU_PMNS_NAMESPDU_PMNS_TRAVERSE
π¦ DEFAULT CALLBACKS FOR HANDLING PDUs π¦
To keep a consistent framework, a daemon PMDA can use pmdaMain(3) to handle the communication protocol β using the same callbacks as a DSO PMDA. Symmetry, we love to see it. β¨
The structure pmdaInterface is what conveys the common procedural interface and state information used by pmcd(1) and a PMDA. That state info includes tables describing the supported metrics and instance domains.
Since most of the procedural interface is identical for all PMDAs, it's provided as part of this support library:
But π¨ those routines need access to the pmdaInterface state information, so it must be correctly initialized using:
Lowkey if you skip the init step nothing works, so likeβ¦ don't. π
π INSTANCES AND INSTANCE DOMAINS π
Three structures are declared in /usr/include/pcp/pmda.h, and they give you a framework for declaring the metrics and instances your PMDA supports.
Every instance needs a unique integer identifier and a unique name, as defined by the structure pmdaInstid:
/*
* Instance description: index and name
*/
typedef struct {
int i_inst; /* internal instance identifier */
char *i_name; /* external instance identifier */
} pmdaInstid;
An instance domain needs its own unique identification (pmInDom), the number of instances the domain represents, and a pointer to an array of instance descriptions. That's the structure pmdaIndom:
/*
* Instance domain description: unique instance id,
* number of instances in this domain, and the list of
* instances (not null terminated).
*/
typedef struct {
pmInDom it_indom; /* indom, filled in */
int it_numinst; /* number of instances */
pmdaInstid *it_set; /* instance identifiers */
} pmdaIndom;
The simple PMDA has one instance domain for simple.color with three instances (red, green and blue), and a second instance domain for simple.now with instances that can be specified at run-time. Obsessed with the flexibility ngl. π
These instance domains are defined as:
static pmdaInstid _color[] = {
{ 0, "red" }, { 1, "green" }, { 2, "blue" }
};
static pmdaInstid *_timenow = NULL;
static pmdaIndom indomtab[] = {
#define COLOR_INDOM 0
{ COLOR_INDOM, 3, _color },
#define NOW_INDOM 1
{ NOW_INDOM, 0, NULL },
};
The preprocessor macros COLOR_INDOM and NOW_INDOM are used in the metric description table to identify the instance domains of individual metrics. They correspond to the serial value in the instance domain pmInDom structure β the domain field is set by pmdaInit(3) at run-time. That serial value must be unique for each instance domain within the PMDA. β
Now here's a little freedom moment: the indom table shown above, which is usually passed to pmdaInit(3), does not need to be created if you want to write your own Fetch and Instance functions. See pmdaInit(3) for more details. You do you, bestie. π«Ά
π NAMESPACE π
Every PMDA has its own unique namespace, using the format defined in PMNS(5). In summary: the namespace matches the names of the metrics to the unique identifier. Simple as that. β¨
The simple PMDA defines five metrics:
simple.numfetchsimple.colorsimple.time.usersimple.time.syssimple.now
The namespace for these metrics is defined in $PCP_PMDAS_DIR/simple/pmns and is installed as:
simple {
numfetch 253:0:0
color 253:0:1
time
now 253:2:4
}
simple.time {
user 253:1:2
sys 253:1:3
}
The domain number of 253 is obtained from $PCP_VAR_DIR/pmns/stdpmid. New PMDAs should specify a unique domain number in this file, and obtain the number during installation. That way, the domain number can change by modifying only the file $PCP_VAR_DIR/pmns/stdpmid. Iconic single source of truth behavior. π
The simple.time and simple.now metrics are defined in separate clusters to the other metrics, which lets a PMDA support more than 1024 metrics, and also lets you group similar metrics together. So the item numbers for a new cluster may be identical to the item numbers in other clusters. The simple PMDA just keeps incrementing the item numbers to permit direct mapping (see pmdaInit(3)).
The namespace file should be installed and removed with the agent using pmnsadd(1) and pmnsdel(1). See the later sections on INSTALLATION and REMOVAL.
A simple ASCII namespace can be constructed by creating a file similar to $PCP_PMDAS_DIR/simple/root:
/*
* fake "root" for validating the local PMNS subtree
*/
#include "$PCP_VAR_DIR/pmns/stdpmid"
root { simple }
#include "pmns"
and it can be referred to with the -n option in most PCP tools. π
π METRIC DESCRIPTIONS π
Each metric requires a description (pmDesc), which contains its Performance Metric Identifier (PMID), data type specification, instance domain, semantics and units (see pmLookupDesc(3)).
There's also a handle for application specific information in the pmdaMetric structure:
/*
* Metric description: handle for extending description,
* and the description.
*/
typedef struct {
void* m_user; /* for users external use */
pmDesc m_desc; /* metric description */
} pmdaMetric;
The simple PMDA defines the metrics as:
static pmdaMetric metrictab[] = {
/* numfetch */
{ (void *)0,
{ PMDA_PMID(0,0), PM_TYPE_U32, PM_INDOM_NULL, PM_SEM_INSTANT,
{ 0,0,0,0,0,0} }, },
/* color */
{ (void *)0,
{ PMDA_PMID(0,1), PM_TYPE_32, COLOR_INDOM, PM_SEM_INSTANT,
{ 0,0,0,0,0,0} }, },
/* time.user */
{ (void*)0,
{ PMDA_PMID(1,2), PM_TYPE_DOUBLE, PM_INDOM_NULL, PM_SEM_COUNTER,
{ 0, 1, 0, 0, PM_TIME_SEC, 0 } }, },
/* time.sys */
{ (void*)0,
{ PMDA_PMID(1,3), PM_TYPE_DOUBLE, PM_INDOM_NULL, PM_SEM_COUNTER,
{ 0, 1, 0, 0, PM_TIME_SEC, 0 } }, },
/* now */
{ NULL,
{ PMDA_PMID(2,4), PM_TYPE_U32, NOW_INDOM, PM_SEM_INSTANT,
{ 0,0,0,0,0,0 } }, },
};
The macro PMDA_PMID (defined in /usr/include/pcp/pmda.h) is used to specify each metric's cluster and item fields of the associated pmID. Just like with instance domains, the domain field is set by pmdaInit(3) at run-time β however, the default domain is assumed to be defined by the PMDA in the macro MYDOMAIN. π§
And again, the metric table shown above, which is usually passed to pmdaInit(3), does not need to be created if you want to write your own Fetch and Descriptor functions. See pmdaInit(3) for more details.
π₯ DSO PMDA π₯
A PMDA that's run as a DSO is opened by pmcd(1) with dlopen(3). Then pmcd(1) calls the PMDA's initialization function, which is specified in $PCP_PMCDCONF_PATH.
That function gets passed a pointer to a pmdaInterface structure, and you must complete it. Any callbacks that are not the default PMDA support library callbacks must be specified in the pmdaInterface structure. No skipping. π
The simple PMDA uses its own store and fetch callback. simple_fetch() calls pmdaFetch(3), which requires a callback to be set with pmdaSetFetchCallBack(3) β you can see this in $PCP_PMDAS_DIR/simple/simple.c.
The flag _isDSO is used to determine if the PMDA is a daemon or a DSO, so that the correct initialization routine β pmdaDaemon(3) or pmdaDSO(3) β gets called. π
and bestieβ¦ there's more of this page coming, don't go anywhere πβ¨
π DAEMON PMDA π
Okay bestie so a PMDA that runs as a daemon gets forked and executed by pmcd(1). Which means β and this is the key difference from a DSO PMDA β the starting point for a daemon PMDA is main(). Like, you're the main character now. β¨
So what does the agent have to do? It should:
- parse the command line arguments
- create a log file
- initialize some data structures that
pmcd(1)would have initialized for you if you were a DSO agent
The pmdaInterface structure must be completely defined by the daemon PMDA, no cap. And pmdaDaemon(3) can be called at the very start of main() to set most of those fields for you, which is honestly such a slay. π«Ά
Command line parsing can be simplified with pmdaGetOpt(3) β it's basically getopt(2) but it extracts a common set of options straight into the pmdaInterface structure. Chef's kiss. And stderr can be mapped to a log file using pmdaOpenLog(3), which makes debugging and error messages way less of a mess. π
Then you make the connection to pmcd(1) with pmdaConnect(3), and the loop that handles all the incoming PDUs, pmdaMain(3), should be the last function you call. Last. Finale. End of the episode. π
You can see all of this in action in $PCP_PMDAS_DIR/simple/simple.c β go look, it's giving tutorial energy.
The simple_init() routine is common to an agent that can be run as both a Daemon and a DSO PMDA. Shared code, shared vibes. π
π HELP TEXT π
Every single PMDA has to be able to hand pmcd(1) the help text for each metric. Non-negotiable, it's the law.
Most PMDAs use specially created files with indexes to support efficient retrieval of the help text. And PCP ships with tools to create those help text files in the appropriate format. See newhelp(1) for the deets. π¦
π οΈ INSTALLATION AND REMOVAL π οΈ
There's a whole series of shell procedures defined in $PCP_SHARE_DIR/lib/pmdaproc.sh that greatly simplify the installation and removal of a PMDA. We love a helper library. π
The Install scripts π
For most PMDAs, your Install script should only need to do this little routine:
- specify the name of the PMDA in
iam - call
pmdaSetupβ which does a lot of heavy lifting, bestie:- sets up some default variables
- checks permissions (heads up: you have to be ``root'' to install or remove a PMDA, no exceptions π€)
- checks that you're in the right directory (somewhere that ends with
/pmdas/$iam) - optionally generates the Performance Metrics Name Space (PMNS) and PMDA domain number files for Perl or Python PMDAs
- checks the PMDA domain number is valid
- etc. etc. the list goes on
- specify the communication protocols
- finally call
pmdaInstallto do all the actual work:
Bonus helpers β¨
Beyond pmdaSetup and pmdaInstall, there's another optional helper routine: pmdaChooseConfigFile. It may be used to interactively select or create a PMDA-specific configuration file, e.g. pmdalogger(1). Cute, right? π
The Remove scripts πΈ
These are even simpler, because setting up the communication protocols is not required. So you just:
- set the name of the PMDA in
iam - call
pmdaSetup - followed by a call to
pmdaRemove
That's it. Done. Bye. π
Further information is contained in the $PCP_SHARE_DIR/lib/pmdaproc.sh file and the following section. Go read it, iykyk. π
The Upgrade script β
Optionally, a PMDA may provide an Upgrade script alongside Install and Remove. If it's present, this script will be used by the pmcd startup process to make sure corrections to an installation have been made before starting the PMDA.
Examples of such corrections include:
- updates to
pmcd.confwhen a PMDA script or binary has been renamed - when the PMDA supports a new format of its configuration file
- or if there's some latent problem from an earlier install β like, some PMDAs may need to introduce use of the
notreadykeyword inpmcd.conf, as described below π«
It's giving "we fixed it in post." π₯
β¨ INSTALLATION REFINEMENTS β¨
okay so, there's a whole pile of variables you can set inside a PMDA's Install script that basically steer how the installation goes down. Most of them you'd set before you call pmdaInstall, but a couple of them β like $iam, and the special snowflakes called out below β have to be set even earlier, before pmdaSetup. π
π¬ Communication vibes (how the PMDA talks to pmcd)
These variables control the communication options between the PMDA and pmcd(1). At minimum you gotta set one of $daemon_opt, $dso_opt, $perl_opt or $python_opt so the whole thing knows which mode(s) of communication are even supported. And if you set more than one? The user gets prompted to pick when the Install script runs. choices choices bestie π
daemon_optβ we're willing to install the PMDA as a daemon. Default:truedso_optβ we're willing to install the PMDA as a DSO, sopmcd(1)will use the dynamic linking loader to attach the PMDA's DSO at run-time, and communication frompmcd(1)to the PMDA and back uses procedure calls, not an IPC channel. Default:falsedso_entryβ for a DSO PMDA, this is the name of the PMDA's initialization routine. Default:${iam}_initdso_nameβ for a DSO PMDA, this is the full pathname of the PMDA's DSO file. Default:$PCP_PMDAS_DIR/$iam/pmda_$iam.$dso_suffixpipe_optβ for a daemon PMDA, is the default IPC channel viapipe(2)? Default: Platform-specific, sotruefor most, butfalsefor Windowsperl_optβ we're willing to install the PMDA as a Perl script andpmcd(1)will use theperl(1)interpreter to run the PMDA. Default:falsepmda_dirβ full pathname to the directory where the PMDA's installation files (executable, script, PMNS source, help text source, etc) are to be found. Default: output frompwd(1)
heads up: if you set this one, it's gotta happen before the call to pmdaSetup.
pmda_nameβ for a daemon PMDA, this is the name of the PMDA's executable binary relative to the$pmda_dirdirectory. Default:pmda$iampython_optβ we're willing to install the PMDA as a Python script andpmcd(1)will use thepython(1)interpreter to run the PMDA. Default:falseipc_protβ for a daemon PMDA, this can be set to eitherbinaryortext. The default isbinaryandtextis rarely used. On top of that, there's an optional IPC parameternotreadyyou can use to signify that the PMDA will start up in the notready state, e.g.ipc_prot="binary notready". Note that the quotes are required. The IPC parameters for a PMDA show up inpmcd.confin the IPC Params column. For further details, seepmcd(1), but basicallypmcdwill not issue any requests to a PMDA that has started in the notready state until the PMDA sends aPM_ERR_PMDAREADYPDU. This lets PMDAs with long startup times initialize correctly without timing out. For details, seepmdaSendError(3)andpmcd(1). And while a PMDA is in the notready state, any client requests sent topmcdfor the PMDA domain will come back with thePM_ERR_PMDANOTREADYerror.socket_inet_defβ for a daemon PMDA using asocket(2)as the IPC channel, the default Internet port number or service name (if known). Default:""socket_optβ for a daemon PMDA, is the default IPC channel via asocket(2)? Default: Platform-specific, sofalsefor most, buttruefor Windows
π³ PMNS options
These variables control the PMNS options. yes we're still going. stay with me bestie π¦
pmns_dupokβ most PMDAs do not have duplicate names for the same PMID in their PMNS. But if that's not your situation,pmns_dupokshould be set totrue. Default:falsepmns_nameβ every PMDA will add one or more non-leaf nodes to the top of the PMNS. The most common case is that all of the metrics for a PMDA get placed below the node named$iam. If that's not what's happening, and especially when the PMDA adds more than one non-leaf node at the top of the PMNS,pmns_nameneeds to be set to the list of node names (separated by white space), e.g. forpmdaproc(1)pmns_nameis set to"proc cgroup hotproc". Default:$iam
lowkey the most important thing here: ifpmns_nameis set to a non-default value in theInstallscript, it must also be set to that exact same value in theRemovescript. no cap.
pmns_sourceβ the name of the PMDA's PMNS source file. By default, the name is interpreted as a relative pathname from the$pmda_dirdirectory. Default:pmns
π Assorted extra options
These variables provide assorted additional options associated with the installation of a PMDA. grab a snack, we're almost through the list π
argsβ additional command line args for the PMDA. These will be appended to the PMDA's control line in$PCP_PMCDCONF_PATH. Default:""check_delayβ delay (in seconds) after finishing the PMDA installation (or removal) before checking the availability of metrics from the PMDA. May need to be increased if the PMDA has a lengthy startup procedure. Default:0.3signal_delayβ delay (in seconds) after notifyingpmcd(1)with a signal. Required to allowpmcd(1)to complete processing before proceeding to the next step of the installation (or removal). Default:1configdirβ determines the directory in which a PMDA's configuration file will be stored. Used bypmdaChooseConfigFileso it should be set before calling that procedure. Default:$PCP_VAR_DIR/config/$iamconfigfileβ preferred configuration file for the PMDA. Used bypmdaChooseConfigFileso it should be set before calling that procedure. Default:""default_configfileβ default configuration file for the PMDA. Used bypmdaChooseConfigFileso it should be set before calling that procedure. Default:""dso_suffixβ standard suffix for a DSO. Should not need to be changed under normal circumstances. Default: Platform-specific, so'so'for Linux,'dylib'for macOS,'dll'for Windows, etc.
if you set this one, it's gotta be before the call to pmdaSetup.
help_sourceβ the name of the help text source file that should be used as input topmnewhelp(1). By default, the name is interpreted as a relative pathname from the$pmda_dirdirectory. Default:helppython_nameβ full pathname of the Python script for a Python PMDA. Default:$pmda_dir/pmda$iam.pythonor$pmda_dir/pmda$iam.py
π§Ή about $tmp (temp file etiquette)
The shell procedures in $PCP_SHARE_DIR/lib/pmdaproc.sh manipulate a bunch of temporary files using the variable $tmp as the prefix for the name of the temporary files. $tmp is a directory that is created, used and removed internally within the procedures of $PCP_SHARE_DIR/lib/pmdaproc.sh, but you can also use it as the prefix for temporary files needed by a PMDA's Install or Remove scripts. When you use it that way, $tmp should be followed by a / and then a suffix, e.g. $tmp/myfoo.
and listen β theInstallandRemovescripts should not use other temporary file name prefixes, and should not usesh(1)trapstatements to clean up temporary files. That's all handled inside$PCP_SHARE_DIR/lib/pmdaproc.shalready. don't do extra. it's giving unnecessary π
π CAVEAT
Failing to complete any of the data structures, or calling any of the library routines out of order, may cause unexpected behavior in the PMDA. (yes that's a real warning, please respect the order bestie π)
Due to changes to the PMAPI(3) and PMDA(3) API in the PCP 2.0 release β as described in the product release notes β PMDAs built using PCP 2.0 must specify PMDA_INTERFACE_2 or later and link with libpcp_pmda.so.2 and libpcp.so.2. Pre-existing Daemon PMDAs specifying PMDA_INTERFACE_1 will continue to function using the backwards compatible libpcp_pmda.so.1 and libpcp.so.1 libraries, and may be recompiled using the headers installed in /usr/include/pcp1.x/ without any modification. These backwards compatible headers and libraries are contained in the pcp.sw.compat subsystem. iconic backwards compatibility honestly π
π©Ί DIAGNOSTICS
Any PMDA which uses this library can set the PMAPI(3) debugging control option libpmda (with -Dlibpmda on the command line, or via pmSetDebug(3)) to enable the display of debugging information which may be useful during development (see pmdbg(1)). debugging era fr fr π₯
The status field of the pmdaInterface structure should be zero after pmdaDaemon, pmdaDSO, pmdaGetOpt, pmdaConnect and pmdaInit are called. A value less than zero indicates that initialization has failed. if it's negative, something went wrong, and no amount of positive thinking will fix it π
Some error messages that are common to most functions in this library are:
PMDA interface version interface not supportedMost of the functions require that thecomm.versionfield of thepmdaInterfacestructure be set toPMDA_INTERFACE_2or later.PMDA_INTERFACE_2orPMDA_INTERFACE_3implies that theversion.twofields are correctly initialized, whilePMDA_INTERFACE_4implies that theversion.fourfields are correctly initialized (seepmdaDaemon(3)andpmdaDSO(3)). set your version fields bestie, it's literally the bare minimum π
π FILES π
Here's the map of where everything lives, bestie β screenshot this:
/usr/include/pcp/pmda.hβ the header file for the PMDA support library. literally where all the good stuff gets declared β¨/usr/lib/libpcp_pmda.soβ the dynamic library holding all the PMDA support library routines. it's giving "the actual brains of the operation" π§$PCP_PMDAS_DIR/trivialβ the source of the trivial PMDA.$PCP_PMDAS_DIR/simpleβ the source of the simple PMDA.$PCP_PMDAS_DIR/txmonβ the source of the txmon PMDA.$PCP_PMCDCONF_PATHβ configuration file forpmcd(1). yes the main character himself π«Ά$PCP_VAR_DIR/pmnsβ where the namespace descriptions for every single PMDA hang out.$PCP_VAR_DIR/pmns/stdpmidβ the unique domain identifiers for each PMDA. everybody needs their own lil ID number, periodt π₯$PCP_SHARE_DIR/lib/pmdaproc.shβ shell procedures for installing and removing a PMDA. the script that does the heavy lifting so you don't have to π
π PCP ENVIRONMENT π
okay so environment variables with the prefix PCP_ are how you parameterize the file and directory names that PCP uses. cute, right?
On every installation, the file /etc/pcp.conf contains the local values for these variables. And plot twist β the $PCP_CONF variable can be used to point at a totally different configuration file instead, as described in pcp.conf(5). icon behaviour π
Wanna grab those values programmatically instead of eyeballing them? Use the pmGetConfig(3) function. no cap, that's the move β¨
π SEE ALSO π
dbpmda(1)newhelp(1)pmcd(1)pmnsadd(1)pmnsdel(1)PMAPI(3)PMWEBAPI(3)pmdaConnect(3)pmdaDaemon(3)pmdaDesc(3)pmdaDSO(3)pmdaFetch(3)pmdaGetOpt(3)pmdaInit(3)pmdaInstance(3)pmdaMain(3)pmdaOpenLog(3)pmdaProfile(3)pmdaStore(3)pmdaText(3)pmLookupDesc(3)PMNS(5)
And if you want the FULL story β like, the complete description of the pcp_pmda library and the whole PMDA development process β go read the Performance Co-Pilot Programmer's Guide. it's giving required reading, iykyk π
fr fr bestie, that's the whole page. go write a PMDA, you're gonna slay π
that's a wrap on PMDA(3) from the Performance Co-Pilot collection, dated PCP π thanks for reading all four parts, ily, go touch some grass and then go instrument something πΈπ¦
π¦ 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
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-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.1.0-6.fc44 Β· 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 resolute: libpcp-pmda3-dev 7.1.1-1
- ubuntu stonking: libpcp-pmda3-dev 7.2.1-2build1
- Copyright (c) 2000-2004 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