PMREP(1)
PMREP(1) โ the general commands manual page, but make it cute ๐
okay bestie, this is pmrep (and its lil alias pcp2csv) from the General Commands Manual. Strap in, we're reporting metrics and we're doing it fabulously โจ
โจ NAME โจ
pmrep, pcp2csv โ performance metrics reporter. that's it, that's the job ๐
๐ธ SYNOPSIS ๐ธ
pmrep [-12357CdgGHIjkLmnprRuUvVxz?] [-4 action] [-6 sort-metric] [-8|-9
limit] [-a archive] [-A align] [--archive-folio folio] [-b|-B space-
scale] [-c config] [--container container] [--csv-unit-info] [-D debug]
[--daemonize] [-e derived] [-E lines] [-f format] [-F outfile] [-h host]
[-i instances] [--include-texts] [-J rank] [-K spec] [-l delimiter] [-N
predicate] [--no-inst-info] [-o output] [-O origin] [-P|-0 precision]
[-q|-Q count-scale] [-s samples] [-S starttime] [-t interval] [-T
endtime] [-w|-W width] [-X label] [-y|-Y time-scale] [-Z timezone]
metricspec [...]
look at all those flags. it's giving main character with a lot of opinions ๐
๐ DESCRIPTION ๐
so. pmrep is a customizable performance metrics reporting tool, no cap. any available performance metric โ live or archived, system and/or application โ can be selected for reporting using one of the output alternatives listed below, together with whatever formatting options apply. you pick, it reports. iconic behaviour fr fr ๐
pmrep collects selected metric values through the facilities of the Performance Co-Pilot (PCP), see PCPIntro(1). the metrics to be reported get specified on the command line, in configuration files, or both โ your call. metrics can be automatically converted and scaled using the PCP facilities, either by default or by per-metric scaling specifications. and in addition to the existing metrics, derived metrics can be defined using the arithmetic expressions described in pmRegisterDerived(3). obsessed ๐
a wide range of metricsets (see below, bestie, keep reading) is included by default, providing reports on per-process details, NUMA performance, mimicking other tools like sar(1) and more โ peep the pmrep configuration files in $PCP_SYSCONF_DIR/pmrep (typically /etc/pcp/pmrep) for the deets. also: tab completion for options, metrics, and metricsets is available for bash and zsh. slay โจ
unless you direct it to another host with the -h option, pmrep will contact the Performance Metrics Collector Daemon (PMCD, see pmcd(1)) on the local host.
the -a option causes pmrep to use the specified set of archives rather than connecting to a PMCD. and heads up: the -a and -h options are mutually exclusive. pick a lane ๐
the -L option causes pmrep to use a local context to collect metrics from DSO PMDAs (Performance Metrics Domain Agents, "plugins") on the local host without PMCD. only some metrics are available in this mode. the -a, -h, and -L options are mutually exclusive โ all three, no mixing ๐
the metrics of interest are named in the metricspec argument(s). if a metricspec specifies a non-leaf node in the Performance Metrics Name Space (PMNS), then pmrep will recursively descend the PMNS and report on all leaf nodes (i.e. metrics) for that metricspec. use pminfo(1) to list all the metrics (PMNS lead nodes) and their descriptions.
a metricspec has three different forms. let's break it down ๐ง
first, on the command line it can start with a colon (:) to indicate a metricset to be read from pmrep configuration files (see -c and pmrep.conf(5)), which may then consist of any number of metrics.
second, a metricspec starting with non-colon specifies a PMNS node as described above, optionally followed by metric output formatting definitions. this so-called compact form of a metricspec is defined as follows:
๐ the compact form ๐
metric[,label[,instances[,unit/scale[,type[,width[,precision[,limit]]]]]]]
a valid PMNS node (metric) is mandatory โ you gotta have the metric, that's the whole point. it may be followed by a text label used with stdout output. the optional instances definition restricts csv and stdout reporting to the specified instances of the metric, so non-matching instances will be filtered out (see -i). an optional unit/scale is applicable for dimension-compatible, non-string metrics. see below for supported unit/scale specifications. by default, cumulative counter metrics are converted to rates, and an optional type can be set to raw to disable this rate conversion. for stdout output a numeric width can be used to set the width of the output column for this metric โ too wide strings in the output will be truncated to fit the column. a metric-specific precision can be provided for numeric non-integer output values. lastly, a metric-specific limit can be set for filtering out numeric values per the limit. โจ
as a special case for metrics that are counters with time units (nanoseconds to hours), the unit/scale can be used to change the default reporting (for example, milliseconds / second) to normalize to the range zero to one by setting this to sec (see also -y and -Y).
the following metricspec requests the metric kernel.all.sysfork to be reported under the text label forks, converting to the metric default rate count/s in an 8 wide column. although the definitions in this compact form are optional, they must always be provided in the order specified above โ thus, the commas. respect the commas, bestie ๐ญ
kernel.all.sysfork,forks,,,,8
the third form of a metricspec, verbose form, is described and valid only in pmrep.conf(5).
derived metrics are specified like regular PMNS leaf node metrics.
options via environment values (see pmGetOptions(3)) override the corresponding built-in default values (if any). configuration file options override the corresponding environment variables (if any). command line options override the corresponding configuration file options (if any). it's a whole hierarchy, and honestly? it ate ๐
pcp2csv is an alias for pmrep. same girl, different name ๐
๐ OPTIONS ๐
the available command line options are:
-0precision,--precision-force=precisionโ like-Pbut this option will override per-metric specifications. it said force and it meant it ๐-1,--dynamic-headerโ print a new dynamically adjusted header every time changes in the availability of metric and instance values occur. by default a static header that never changes is printed once. see also-4,-7, and-E.-2,--overall-rankโ perform overall ranking of instances in archive. by default ranking (see-J) and reporting happens on each interval. with this option all instances and values are ranked before a summary is reported. seepmlogsummary(1)for further archive summary reporting alternatives, including averages and peak times for values.-3,--overall-rank-altโ like-2but print metric instances inpmrepmetricspec format, to allow easily selecting the instances for further investigation. so thoughtful of it ๐ฅน-4action,--names-change=actionโ specify which action to take on receiving a metric names change event during sampling. these events occur when a PMDA discovers new metrics sometime after starting up, and informs running client tools likepmrep. valid values for action areupdate(refresh metrics being sampled),ignore(do nothing โ the default behaviour) andabort(exit the program if such an event occurs).updateimplies--dynamic-header.-5,--ignore-unknownโ a metric thatpmrepis asked to report may be "unknown" for a number of reasons: the metric is not in the PMNS of the requested source of metrics (pmcd(1)for live metrics from a host, or a PCP archive for historical metrics), or one or more operand metrics in a derived metric definition is not available, or a derived metric definition contains syntax errors. by default,pmrepwill report errors and exit if any requested metric is unknown. the-5option changes the default behaviour andpmrepwill silently ignore any metric that is unknown, provided at least one known metric remains to be reported. if an unknown metric is associated with a derived metric definition, refer topmRegisterDerivedMetric(3)for a deeper explanation of derived metrics and the options available for diagnosing issues with their definition and evaluation.-6,--sort-metric=sort-metricโ specify a sort reference metric to sort output by values with-X. by default sorting order is descending, prepending the metric name with the minus sign (-) will change the order to be ascending. see also-Jand-N.-7,--fixed-headerโ with-Xprint a fixed header once (unless using-E) including all metrics being reported. unlike with the default (static) header, only instances with values available are reported. unlike with the dynamic header, the header is not updated even if values for some metrics later become (un)available. see also-1and-E.-8limit,--limit-filter=limitโ limit results to instances with values above/below limit. a positive integer will include instances with values at or above the limit in reporting. a negative integer will include instances with values at or below the limit in reporting. a value of zero performs no limit filtering. this option will not override possible per-metric specifications. see also-Jand-N.-9limit,--limit-filter-force=limitโ like-8but this option will override per-metric specifications. again with the force ๐ค-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. see also-u.-Aalign,--align=alignโ force the initial sample to be aligned on the boundary of a natural time unit align. refer toPCPIntro(1)for a complete description of the syntax for align.--archive-folio=folioโ read metric source archives from the PCP archive folio created by tools likepmchart(1)or, less often, manually withmkaf(1).-bscale,--space-scale=scaleโ unit/scale for space (byte) metrics, possible values includebytes,Kbytes,KB,Mbytes,MB, and so forth. this option will not override possible per-metric specifications. see alsopmParseUnitsStr(3).-Bscale,--space-scale-force=scaleโ like-bbut this option will override per-metric specifications. (force squad, assemble ๐ซถ)-cconfig,--config=configโ specify the config file or directory to use. in case config is a directory all files in it ending.confwill be included. the default is the first found of:./pmrep.conf,$HOME/.pmrep.conf,$HOME/pcp/pmrep.conf,$PCP_SYSCONF_DIR/pmrep/pmrep.conf, and$PCP_SYSCONF_DIR/pmrep. seepmrep.conf(5).--container=containerโ fetch performance metrics from the specified container, either local or remote (see-h).--csv-unit-infoโ append unit strings to metric names in the CSV header using the formmetric(unit)ormetric[inst](unit). see also-k.-C,--checkโ exit before reporting any values, but after parsing the configuration and metrics and printing possible headers. a little vibe check before the main event โจ-d,--delayโ so when you're replaying from an archive, this one asks for the prevailing real-time delay to be applied between samples (peep-t) so it actually pauses like a lil dramatic moment ๐ โ instead of the default behaviour which is just replaying at full speed, no chill.--daemonizeโ daemonise on startup. that's it, that's the whole vibe. โจ-ederived,--derived=derived โ specify derived performance metrics ๐ if derived starts with a slash (/) or with a dot (.) it gets interpreted as a PCP derived metrics configuration file โ otherwise it's read as comma- or semicolon-separated derived metric expressions. For the complete description of derived metrics and PCP derived metrics configuration files, go look atpmLoadDerivedConfig(3)andpmRegisterDerived(3). Alternatively, usingpmrep.conf(5)configuration syntax lets you define derived metrics as part of metricsets ๐
In case of issues with derived metrics, review the aforementioned manual pages in detail and make sure all the required metrics are actually available โ especially when using archives ๐ญ Use -Dderive to see additional debug information about parsing and evaluating derived metrics.
-Elines,--repeat-header=lines โ repeat the header every lines of output. When you're not using-1or-7, useautoto repeat the header based on terminal height ๐ See also-1and-7.-fformat,--timestamp-format=format โ use the format string for formatting the timestamp. The format gets used with Python'sdatetime.strftimemethod, which is mostly the same as the one described instrftime(3). An empty format string (i.e."") will remove the timestamps from the output entirely ๐ซถ Defaults to%H:%M:%Swhen using thestdoutoutput target. Defaults to%Y-%m-%d %H:%M:%Swhen using thecsvoutput target.-Foutfile,--output-file=outfile โ specify the output file outfile. See-o. ๐-g,--separate-headerโ output the column number and complete metric information, one-per-line, before printing the metric values ๐ธ-G,--no-globalsโ do not include global metrics in reporting (seepmrep.conf(5)).-hhost,--host=host โ fetch performance metrics frompmcd(1)on host, rather than from the defaultlocalhost๐-H,--no-headerโ do not print any headers. bye header ๐-iinstances,--instances=instances โ retrieve and report only the specified metric instances. By default all initially present instances are reported, except when writing an archive (see-o), where also all future instances will be reported ๐
The specified instances are filtered from the initially present instances when the tool is starting up. So instances which would match the filter but show up after the tool has started up will not be reported โ use -j to change this โ ๏ธ
This is a global option that's used for all set-valued metrics unless a metric-specific instance filter is provided as part of a metricspec. By default single-valued ``flat'' metrics without instances are still reported as usual โ use -v to change this.
instances is a comma-separated list of one or more instance filter specifications. Filters containing commas or whitespace must be quoted with single (') or double (") quotes. Note that as part of a metricspec on command line, a list with more than one filter means both the list and each filter must be quoted as shown below ๐ It's also possible to define a single filter with bars (|) as instance separating regex in order to make quoting easier, see below.
Multiple -i options are allowed as an alternative way of specifying more than one non-metric-specific instance filters ๐
An individual instance filter can be one of the following:
nameโ full instance name. For example,sdafordisk.devinstances oreth0fornetwork.interfaceinstances.PIDโ process ID forprocinstances.commandโ base name of a process forprocinstances. For example,pmcdwould match allpmcd(1)processes regardless of their path or PID.regexโ regular expression. For example,.*python.*would match all instances having the stringpythonas part of their instance name, meaning that this would match all Python processes regardless of their path, PID, or version ๐
As an example, the following would report the same instances:
$ pmrep -i '. minute' kernel.all.load
$ pmrep -i '1 minute','5 minute' kernel.all.load
$ pmrep -i "'1 minute','5 minute'" kernel.all.load
$ pmrep -i '1 minute' -i '5 minute' kernel.all.load
$ pmrep kernel.all.load,,"'1 minute','5 minute'"
$ pmrep kernel.all.load,,'1 minute|5 minute'
However, this would report only the 1-minute instance:
$ pmrep -i '1 minute','5 minute' kernel.all.load,,'1 minute'
And this would report all instances (due to per-metric regex):
$ pmrep -i '1 minute','5 minute' 'kernel.all.load,,.*'
-I,--ignore-incompatโ similar to unknown metrics described above for the-5option, a metric thatpmrepis asked to report may be considered ``incompatible'' for a number of reasons: a metric type that is not supported bypmrep(e.g.PM_TYPE_AGGREGATEorPM_TYPE_EVENT), or a derived metric definition that contains semantic errors, or the metric is known in the PMNS but the metric's metadata is not available ๐ By default,pmrepwill report errors and exit if any requested metric is incompatible. The-Ioption changes the default behaviour andpmrepwill silently ignore any metric that is incompatible โ provided at least one compatible metric remains to be reported. This may be especially useful when requesting non-leaf nodes of the PMNS tree for reporting when the associated metrics have different metadata ๐--include-textsโ when writing a PCP archive, include PCP metric help texts in the created archive ๐-j,--live-filterโ perform instance live filtering. This allows capturing all named instances even if processes are restarted at some point (unlike without live filtering) ๐ฅ Performing live filtering over a huge number of instances will add some internal overhead so a bit of user caution is advised. See also-1and-n.-Jrank,--rank=rank โ limit results to highest/lowest ranked instances of set-valued metrics. A positive integer will include highest valued instances in reporting. A negative integer will include lowest valued instances in reporting. A value of zero performs no ranking. Ranking does not imply sorting, see-6. See also-2and-8. ๐-k,--extended-csvโ write extended CSV output, similar tosadf(1). See also--csv-unit-info.-Kspec,--spec-local=spec โ when fetching metrics from a local context (see-L), the-Koption may be used to control 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 ๐-ldelimiter,--delimiter=delimiter โ specify the delimiter that separates each column ofcsvorstdoutoutput. The default forstdoutis two spaces () and comma (,) forcsv. When using a non-whitespace delimiter, all instances of the delimiter in string values will be replaced by the underscore (_) character. Note that many default metricsets specify a delimiter (that may not be a comma) so it might be necessary to use this option with metricsets to explicitly set the delimiter as comma for CSV output, i.e.--delimiter=,๐-L,--local-PMDAโ use a local context to collect metrics from DSO PMDAs on the local host without PMCD. See also-K๐-m,--include-labelsโ include PCP metric labels in the output. ๐ท๏ธ-n,--invert-filterโ perform ranking before live filtering. By default instance live filtering (when requested, see-j) happens before instance ranking (when requested, see-J). With this option the logic is inverted and ranking happens before live filtering ๐-Npredicate,--predicate=predicate โ specify a comma-separated list of predicate filter reference metrics. By default ranking (see-J) happens for each metric individually. With predicates, ranking is done only for the specified predicate metrics. When reporting, the rest of the metrics sharing the same instance domain (seePCPIntro(1)) as the predicate will include only the highest/lowest ranking instances of the corresponding predicate. Ranking does not imply sorting, see-6. ๐
So for example, using proc.memory.rss (resident memory size of process) as the predicate metric together with proc.io.total_bytes and mem.util.used as metrics to be reported, only the processes using most/least (as per -J) memory will be included when reporting total bytes written by processes. Since mem.util.used is a single-valued metric (thus not sharing the same instance domain as the process related metrics), it will be reported as usual ๐ซถ
--no-inst-infoโ omit instance information from headers. Not applicable with separate header (see-g). ๐-ooutput,--output=output โ use output target for reporting. The default target isstdout. The available output target alternatives are:archiveโ record metrics into a PCP archive which can later be replayed with PCP tools, includingpmrepitself. SeeLOGARCHIVE(5)andPCPIntro(1)for details about PCP archive files. Requires-F. ๐ฆcsvโ print metrics in CSV format (subject to formatting options).stdoutโ print metrics to stdout (format subject to formatting options).
-Oorigin,--origin=origin โ when reporting archived metrics, start reporting at origin within the time window (see-Sand-T). Refer toPCPIntro(1)for a complete description of the syntax for origin โฐ-p,--timestampsโ print timestamps. By default no timestamps are printed. ๐-Pprecision,--precision=precision โ use precision for numeric non-integer output values. If the value is too wide for its column width, precision is reduced one by one until the value fits, or not printed at all if it does not ๐ The default is to use 3 decimal places (when applicable). This option will not override possible per-metric specifications ๐-qscale,--count-scale=scale โ the unit/scale for count metrics, bestie ๐ possible values includecount x 10^-1,count,count x 10,count x 10^2, and so forth all the way from10^-8to10^7. (heads up: these values are currently space-sensitive, so don't get cute with the spacing ๐) This option will not override possible per-metric specifications. See alsopmParseUnitsStr(3).-Qscale,--count-scale-force=scale โ literally like-qexcept this one will override per-metric specifications. forceful queen energy ๐-r,--rawโ output raw metric values, do not convert cumulative counters to rates. When writing archives, raw values are always used. This option will override possible per-metric specifications.-R,--raw-preferโ like-rbut this one will not override per-metric specifications. the chill version ๐ซถ-ssamples,--samples=samples โ the samples argument defines the number of samples to be retrieved and reported. If samples is0or-sis not specified,pmrepwill sample and report continuously (in real time mode) or until the end of the set of PCP archives (in archive mode). See also-T.-Sstarttime,--start=starttime โ when reporting archived metrics, the report will be restricted to those records logged at or after starttime. Refer toPCPIntro(1)for a complete description of the syntax for starttime.-tinterval,--interval=interval โ set the reporting interval to something other than the default1second. The interval argument follows the syntax described inPCPIntro(1), and in the simplest form may be an unsigned integer (the implied units in this case are seconds). See also the-Tand-uoptions.-Tendtime,--finish=endtime โ when reporting archived metrics, the report will be restricted to those records logged before or at endtime. Refer toPCPIntro(1)for a complete description of the syntax for endtime.
When used to define the runtime before pmrep will exit, if no samples is given (see -s) then the number of reported samples depends on interval (see -t). If samples is given then interval will be adjusted to allow reporting of samples during runtime. In case all of -T, -s, and -t are given, endtime determines the actual time pmrep will run. three-way tiebreaker, and endtime wins ๐
-u,--no-interpolโ when reporting archived metrics, by default values are reported according to the selected sample interval (-toption), not according to the actual record interval in an archive. To this effect PCP interpolates the values to be reported based on the records in the archive. With the-uoption uninterpolated reporting is enabled, every recorded value for the selected metrics is reported and the requested sample interval (-t) is ignored.
So for example, if a PCP archive contains recorded values for every 10 seconds and the requested sample interval is 1 hour, by default pmrep will use an interpolation scheme to compute the values of the requested metrics from the values recorded in the proximity of these requested metrics and values for every 1 hour are reported. With -u every record every 10 seconds are reported as such (the reported values are still subject to rate conversion, use -r or -R to disable). no glow-up math, just the receipts โจ
-U,--no-unit-infoโ omit unit information fromstdoutheaders. bye bye units ๐-v,--omit-flatโ report only set-valued metrics with instances (e.g.disk.dev.read) and omit single-valued ``flat'' metrics without instances (e.g.kernel.all.sysfork). See-iand-I.-V,--versionโ display version number and exit.-wwidth,--width=width โ set thestdoutoutput column width. Strings will be truncated to this width. The default width is the shortest that can fit the metric text label, the forced minimum is3. This option will not override possible per-metric specifications.-Wwidth,--width-force=width โ like-wbut this option will override per-metric specifications.-x,--extended-headerโ print extended header. extra, as a treat ๐-Xlabel,--colxrow=label โ swap columns and rows instdoutoutput, reporting one instance per line, using label as the text label for the instance column. Use an empty string ("") to enable swapping without a specific column label. This change in output allows usinggrep(1)to filter results or to more closely mimic other tools. See also-iand-6. transpose era ๐ฆ-yscale,--time-scale=scale โ unit/scale for time metrics, possible values includenanosec,ns,microsec,us,millisec,ms, and so forth up tohour,hr. This option will not override possible per-metric specifications. See alsopmParseUnitsStr(3).-Yscale,--time-scale-force=scale โ like-ybut this option will override per-metric specifications.-z,--hostzoneโ use the local timezone of the host that is the source of the performance metrics, as identified by either the-hor the-aoptions. The default is to use the timezone of the local host. whose clock is it anyway ๐ฐ๏ธ-Ztimezone,--timezone=timezone โ use timezone for the date and time. Timezone is in the format of the environment variableTZas described inenviron(7). Note that when including a timezone string in output, ISO 8601 -style UTC offsets are used (so something like-Z EST+5will becomeUTC-5).-?,--helpโ display usage message and exit.
๐ธ EXAMPLES ๐ธ
The following examples use the standard PCP facilities for collecting the metric values, no external utilities are needed. The referenced colon-starting metricsets are part of the default pmrep configuration. With bash and zsh tab completes available options, metrics, and after a colon metricsets. tab completion really said "i got you" ๐ซถ
Display network interface metrics on the local host:
$ pmrep network.interface.total.bytes
Display all outgoing network metrics for the wlan0 interface:
$ pmrep -i wlan0 -v network.interface.out
Display the slab total usage (in MB) of two specific slab instances:
$ pmrep mem.slabinfo.slabs.total_size,,'kmalloc-4k|xfs_inode',MB
Display timestamped vmstat(8) like information using megabytes instead of kilobytes and also include the number of inodes used:
$ pmrep -p -B MB :vmstat vfs.inodes.count
Display per-device disk reads and writes from the host server1 using two seconds interval and sadf(1) like CSV output format:
$ pmrep -h server1 -t 2s -o csv -k disk.dev.read disk.dev.write
Display processes using at least 100MB of memory using dynamic headers, additionally use -g to display instance (process) names in full:
$ pmrep -b MB --limit-filter 100 --dynamic-header proc.memory.rss
Display the predefined set of metrics from the default pmrep.conf(5) containing details about I/O requests by current pmlogger process(es):
$ pmrep -gp -i pmlogger :proc-io
Display the three most CPU-using processes:
$ pmrep -1gUJ 3 proc.hog.cpu
Display sar -w and sar -W like information at the same time from the PCP archive ./20150921.09.13 showing values recorded between 3 - 5 PM:
$ pmrep -a ./20150921.09.13 -S @15:00 -T @17:00 :sar-w :sar-W
Record most relevant CPU, memory, and I/O related information about every Java process on the system, present and future, to an archive ./a on one minute interval at every full minute in a background process:
$ pmrep --daemonize -A 1m -t 1m -i '.*java.*' -j -o archive -F ./a \
:proc-info :proc-cpu :proc-mem :proc-io
Record all 389 Directory Server, XFS file system, and CPU/memory/disk metrics every five seconds for five minutes to a PCP archive ./a:
$ pmrep -t 5s -T 5m -o archive -F ./a ds389 xfs kernel.all.cpu mem disk
Record process memory and I/O information for those processes which are the three most memory-consuming processes:
$ pmrep -o archive -F ./a -J 3 -N proc.memory.rss proc.memory proc.io
๐ FILES ๐
pmrep.confโpmrepconfiguration file (see-c)$PCP_SYSCONF_DIR/pmrep/*.confโ system provided defaultpmrepconfiguration 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).
Of particular note, PCP_DISCRETE_ONCE can be set to ensure that discrete metric values are reported only once, unless they change at some point. one and done, unless something actually moves โจ
๐ 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 pmrep are as follows:
appl1โ dump keywords for configurations and specificationsderiveโ dump details as each derived metric is parsed
ngl the debug output is giving "cryptic oracle", but it's for the devs, bestie ๐ญ
๐ SEE ALSO ๐
PCPIntro(1), mkaf(1), pcp(1), pcp2elasticsearch(1), pcp2graphite(1), pcp2influxdb(1), pcp2json(1), pcp2spark(1), pcp2xlsx(1), pcp2xml(1), pcp2zabbix(1), pcp-atop(1), pmcd(1), pmchart(1), pmdiff(1), pmdumptext(1), pminfo(1), pmiostat(1), pmlogdump(1), pmlogextract(1), pmlogsummary(1), pmprobe(1), pmstat(1), pmval(1), sadf(1), sar(1), PMAPI(3), pmGetOptions(3), pmLoadDerivedConfig(3), pmParseUnitsStr(3), pmRegisterDerived(3), pmSpecLocalPMDA(3), strftime(3), LOGARCHIVE(5), PMNS(5), pcp.conf(5), pmrep.conf(5), environ(7) and vmstat(8).
okay that's the whole page, you made it to the end bestie ๐ this one's brought to you by Performance Co-Pilot, version PCP, and it's PMREP(1) โ go forth and monitor, you absolute icon ๐
๐
๐ฆ 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) 2015-2026 Marko Myllynen <myllynen@redhat.com>
- Copyright (c) 2016-2018 Red Hat
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms