PMLOGGER_MERGE(1)
π PMLOGGER_MERGE π
okay bestie, so pmlogger_merge β that's a General Commands Manual situation, manual page PMLOGGER_MERGE(1) β is literally a helper script that merges Performance Co-Pilot archives. sit down, we're doing this π«Ά
β¨ SYNOPSIS β¨
$PCP_BINADM_DIR/pmlogger_merge [-fNVE?] [input-basename ... output-name]
that's it. that's the whole vibe. no cap.
πΈ DESCRIPTION πΈ
so pmlogger_merge is a helper script β a little guy with main character energy β and it's the one pmlogger_daily(1) calls in when it needs to merge all of the Performance Co-Pilot (PCP) archives for a single host on a single day into one combined PCP archive. one host, one day, one archive. it's giving organization π
under the hood it's a wrapper script for pmlogextract(1), and what it does is merge every archive matching the input-basename arguments and then create a brand new archive using output-name as the base name for the physical files that constitute an archive. iconic behaviour honestly.
oh and also β the input-basename arguments are allowed to contain meta characters, in the style of sh(1). glob away, queen π
and here's a fun little detail: if any of the files that are components of the input-basename archives has been compressed, then on success pmlogger_merge will compress output-name using pmlogcompress(1). it matches the energy. if you brought compressed files, you're leaving with compressed files. periodt.
β¨ OPTIONS β¨
The available command line options are β and bestie, yes, you need all of them:
-f,--forceβ this option causes all of the input files to be removed once the output archive has been created. bye bye input files, you did great π«‘-N,--showmeβ runspmlogger_mergein ashow me'' /dry run'' mode where the tasks that would be performed get reported, but literally no changes are made. nothing happens. it's all talk, no action, and that's on purpose. this is typically used for debugging, in combination with one (verbose) or two (very verbose)-Voptions.-V,--verboseβ increase verbosity in the output progress report. more-V= more talking. two of them and it will NOT stop yapping.-E,--expungeβ okay so when metric metadata differences show up between the archives you're merging, the default behaviour is forpmlogger_mergeto fail with a fatal error, and the output-name archive does not get created. π the-Eflag instead issues a warning and excludes the affected metrics from the merged output archive. this is intended for automated daily archive rotation, where it is highly desirable for unattended daily archive merging, rewriting and compression to succeed. see alsopmlogger_daily(1)and the-xflag topmlogextract(1).-?,--helpβ display usage message and exit. the classic. ask for help, receive help, leave. π
π§ 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 β plot twist β the $PCP_CONF variable may be used to specify an alternative configuration file, as described in pcp.conf(5). so if you ever need to point at a different config, that's your girl β¨
π SEE ALSO π
PCPIntro(1), pmlogcompress(1), pmlogextract(1), pmlogger(1) and pmlogger_daily(1).
go read them, they're all in the group chat π
that's the whole page bestie, you ate it up fr fr πΈπ β¨
mwah π β brought to you by Performance Co-Pilot, version PCP, filed under PMLOGGER_MERGE(1). love that for us π
π¦ 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.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
- ubuntu resolute: pcp 7.1.1-1
- ubuntu stonking: pcp 7.2.1-2build1
- Copyright (c) 2013-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