PMLOGPASTE(1)
π PMLOGPASTE(1) β bestie's guide to yeeting text into a PCP archive π
okay so welcome to pmlogpaste, a General Commands Manual situation, and honestly? she's a baddie. let's get into it. π«Ά
β¨ NAME β¨
pmlogpaste β paste text into a metric in a PCP archive π
πΈ SYNOPSIS πΈ
pmlogpaste [-?] [-f file] [-h hostname] [-l label] [-m metric] [-o
outfile] [-t timezone]
π¦ DESCRIPTION π¦
so like. pmlogpaste takes input text β from a file OR straight off the command line β and writes it as a metric value in a brand new PCP archive. that metric value gets timestamped with the current time, and it's stored as a string type metric. no cap. π
the main purpose of this tool is to take captured output and preserve it in a PCP archive. which means, for example, the output of a benchmark run can be stored along with performance metrics captured during that run, all in a single archive. iconic behaviour honestly. and if you wanna merge archives together, you can do that with the pmlogextract(1) utility. π
under the hood, pmlogpaste uses the LOGIMPORT(3) library interfaces internally, and those are the ones that support the creation of archives from external sources of performance data. she's built different fr fr. β¨
π OPTIONS π
here's the full menu, bestie, no skipping:
-f file,--file=fileβ file with input text to be archived, or-for standard input. (yes literally a single dash, she'll take it from stdin, we love a flexible queen π)-h hostname,--hostname=hostnameβ source host name for the archive. the default value is the local host name, orlocalhostif that cannot be obtained. (she tries her best, okay π)-l label,--label=labelβ add context labels to the generated archive. this option can be presented multiple times to produce multiple labels in the archive. the label should be in the formname:value. stack 'em up, collect 'em all π-m metric,--metric=metricβ metric name for the archive. the default metric name ispaste.value. π-o outfile,--outfile=outfileβ archive output file. the default archive name ispaste. π-t timezone,--timezone=timezoneβ source timezone for the archive. the default value is the local timezone. πΈ-?,--helpβ display usage message and exit. the classic "help me help you" moment π«Ά
π 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). iykyk π
π SEE ALSO π
PCPIntro(1), pmcd(1), pmlogextract(1) and LOGIMPORT(3). go read them, they're all part of the friend group π¦
and that's the whole page, bestie!! brought to you by Performance Co-Pilot (that's the PCP girlies π), and this page right here is PMLOGPASTE(1) from the General Commands Manual. 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
- centos-stream 10: pcp-doc 7.1.5-6.el10 Β· GPL-2.0-or-later AND CC-BY-3.0
- centos-stream 9: pcp-doc 6.3.7-14.el9 Β· GPL-2.0-or-later AND CC-BY-3.0
- debian bookworm: pcp 6.0.3-1.1
- debian trixie: pcp 6.3.8-1
- fedora 43: pcp-doc 7.0.1-1.fc43 Β· 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
- opensuse-leap 16.0: pcp-doc 6.2.0-160000.4.1 Β· GPL-2.0+ AND CC-BY-SA-3.0
- ubuntu jammy: pcp 5.3.6-1build1
- ubuntu noble: pcp 6.2.0-1.1build4
- ubuntu questing: pcp 6.3.8-1
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2020 Red Hat. All Rights Reserved
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms