PMINFO(1)
๐ PMINFO(1) ๐
okay bestie, this is the pminfo(1) page, straight out of the General Commands Manual โ and no cap, it's actually lowkey iconic once you know what it's saying. sit down, grab a snack, we're doing this ๐
๐ธ NAME ๐ธ
pminfo โ display information about performance metrics
โจ SYNOPSIS โจ
pminfo [-defFIlLmMstTvVxz1?] [-a archive] [-b batchsize] [-c dmfile]
[--container name] [-D debug] [-h hostname] [-K spec] [-[n|N] pmnsfile]
[-O time] [-r dmname=expr] [-Z timezone] [metricname | pmid | indom]...
๐ฆ DESCRIPTION ๐ฆ
pminfo displays various types of information about performance metrics available through the facilities of the Performance Co-Pilot (PCP).
The metrics of interest are named in the metricname arguments. If metricname is a non-leaf node in the PMNS, then pminfo will recursively descend the PMNS and report on all leaf nodes. If no metricname argument is given, the root of the PMNS is used.
If the metricname argument is in numeric dotted notation, it is interpreted as either a 3-dotted pmid (metric identifier โ domain, cluster, item numbers) or a 2-dotted indom (instance domain identifier โ domain, serial number). In the pmid case, a reverse PMID-to-name lookup is performed, and in the indom case, the instance domain is reported directly. This latter mode can be used to report the instance domain ``one line'' and long form help text summaries.
Unless directed to another host by the -h option, by default pminfo will contact the Performance Metrics Collector Daemon (PMCD) on the local host. The connection to a PMCD is only required if pminfo requires distributed PMNS information, and/or meta-data describing metrics, and/or metric values, and/or help text.
The -a option causes pminfo to use the specified set of archives rather than connecting to a PMCD.
The -L option causes pminfo to use a local context to collect metrics from PMDAs on the local host without PMCD. Only some metrics are available in this mode.
bestie listen. The-a,-hand-Loptions are mutually exclusive. pick ONE. not two. one. ๐ซถ
๐ OPTIONS ๐
The available command line options are:
-aarchive,--archive=archive โ Performance metric values are retrieved from the set of Performance Co-Pilot (PCP) archive files identified by the archive argument, which is a comma-separated list of names, each of which may be the base name of an archive or the name of a directory containing one or more archives.-b,--batchโ This option may be used to define the maximum number of metrics to be fetched in a single request for the-fand-voptions. The default value for batchsize is128.-cdmfile,--derived=dmfile โ The dmfile argument specifies a file that contains derived metric definitions in the format described forpmLoadDerivedConfig(3). The-coption provides a way to load global derived metric definitions that is an alternative to the more generic use of thePCP_DERIVED_CONFIGenvironment variable as described inPCPIntro(1). Using the-coption and thePCP_DERIVED_CONFIGenvironment variable to specify the same configuration is a bad idea, so choose one or the other method. See also the-roption below.--container=container โ Specify an individual container to be queried.-d,--descโ Metric descriptions detailing the PMID, data type, data semantics, units, scale and associated instance domain.-1,--desc-onelineโ Same as-dexcept the metric descriptions are formatted one line per metric with tab (\t) separated fields (without field name text). This format is suitable for scripts consuming the output frompminfo.-e,--metadata-errorsโ Same as-vbut do not report metrics that return no values, so any metrics reported are ones that have either persistent errors or inconsistent metadata.-f,--fetchโ Fetch and print values for all instances. When fetching from a set of archives, only those instances present in the first archive record for a metric will be displayed; see also the-Ooption, else usepmlogdump(1)which may be a better tool for examining archives.-F,--fetchallโ Same as-fbut try harder to fetch instances for metrics which have non-enumerable instance domains (e.g. metrics in the ``proc'' subtree of the default PMNS on some platforms).-hhost,--host=host โ Fetch performance metrics frompmcd(1)on host, rather than from the defaultlocalhost.-I,--fullindomโ Print the InDom in verbose mode.-Kspec,--spec-local=spec โ When using the-Loption to fetch metrics from a local context, this option controls the DSO PMDAs that should be made accessible. The spec argument conforms to the syntax described inpmSpecLocalPMDA(3). More than one-Koption may be used.-l,--labelsโ Print label sets associated with metrics and instances. Labels are optional metric metadata described in detail inpmLookupLabels(3).-L,--local-PMDAโ Use a local context to collect metrics from DSO PMDAs on the local host without PMCD. See also-K.-m,--pmidโ Print the PMID in terse mode.-M,--fullpmidโ Print the PMID in verbose mode.-npmnsfile,--namespace=pmnsfile โ Normallypminfooperates on the distributed Performance Metrics Name Space (PMNS), however if the-noption is specified an alternative local PMNS is loaded from the file pmnsfile.-Npmnsfile,--uniqnames=pmnsfile โ The-Noption supports the same function as-n, except for the handling of duplicate names for the same Performance Metric Identifier (PMID) in pmnsfile โ duplicate names are allowed with-nbut they are not allowed with-N.-Otime,--origin=time โ When used in conjunction with an archive source of metrics and the options-f/, the time argument defines a time origin at which the metrics should be fetched from the set of archives. Refer toPCPIntro(1)for a complete description of this option, and the syntax for the time argument.-rdmname=expr,--register=dmname=expr โ Register a per-context derived metric usingpmAddDerivedMetric(3). dmname is the name of the new derived metric, and expr is the expression for the derived metric, following the syntax described inpmRegisterDerived(3). Multiple-roptions are allowed. See also the-coption above.-s,--seriesโ Print time series identifiers associated with metrics, instances and sources. These unique identifiers are calculated from intrinsic (non-optional) labels and other metric metadata associated with each PMAPI context (sources), metrics and instances. Archive, local context orpmcd(1)connections for the same host all produce the same source identifier. See alsopmLookupLabels(3)and the-loption.-t,--onelineโ Print the ``one line'' help summary, if available.-T,--helptextโ Print the help text, if available.-v,--verifyโ Verify mode in which descriptions and values are retrieved, but only error conditions are reported. This option silently disables any output from the options-f/--fetch,-l/--labels,-I/--fullindom,-M/--fullpmid,-m/--pmid,-t/--onelineand-T/--helptext.-V,--versionโ Display version number and exit.-x,--eventsโ Like the-f/--fetchoption, but with the additional functionality that if a value is processed that is of typePM_TYPE_EVENTorPM_TYPE_HIGHRES_EVENT, then the event records will be unpacked and the details of each event record reported.-z,--hostzoneโ Change the reporting timezone to the local timezone at the host that is the source of the performance metrics, as identified via either the-hor-aoptions.-Ztimezone,--timezone=timezone โ By default,pminforeports the time of day according to the local timezone on the system wherepminfois run. The-Zoption changes the timezone to timezone in the format of the environment variableTZas described inenviron(7).-?,--helpโ Display usage message and exit.
๐ FILES ๐
$PCP_VAR_DIR/pmns/*โ default local PMNS specification files
๐ 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).
For environment variables affecting PCP tools, see pmGetOptions(3).
๐ 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 pminfo are as follows:
appl4โ report batch downsizing if batchsize would exceed maximum PDU sizeappl5โ dump PDU stats at end if context is a host
๐ SEE ALSO ๐
PCPIntro(1), pmcd(1), pmchart(1), pmlogdump(1), pmprobe(1), pmrep(1), pmval(1), PMAPI(3), pmAddDerivedMetric(3), pmGetOptions(3), pmLoadDerivedConfig(3), pmLookupLabels(3), pmRegisterDerived(3), pmSpecLocalPMDA(3), PMNS(5), pcp.conf(5) and pcp.env(5).
and that's the whole page, bestie ๐
this lil beauty comes to you from Performance Co-Pilot, version PCP, and it IS the PMINFO(1) page โ go forth and info some metrics, you absolute main character ๐ซถโจ
๐ฆ 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) 2016-2019 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