PMLOGGER_REWRITE(1)
π PMLOGGER_REWRITE π
okay bestie, so this is a page from the General Commands Manual for PCP (that's Performance Co-Pilot, the whole vibe), and the star of the show is pmlogger_rewrite. sit down, grab a boba, we're doing archive glow-ups today π¦
β¨ NAME β¨
pmlogger_rewrite β the little helper script whose entire job is rewriting Performance Co-Pilot archives. that's it. that's the girl. π
β¨ SYNOPSIS β¨
$PCP_BINADM_DIR/pmlogger_rewrite [-dNsVvw?] [-c config] archive ...
β¨ DESCRIPTION β¨
so, pmlogger_rewrite is a helper script that pmlogger_daily(1) calls up when it needs to rewrite Performance Co-Pilot (PCP) archives. why do archives need a rewrite, you ask? because metadata evolves, babes. it's giving β¨growthβ¨. rewriting lets old archives get updated so they can then be merged with the current archives. no cap.
pmlogger_rewrite is a wrapper script for pmlogrewrite(1), and it will potentially rewrite all of the archives matching the archive arguments. obsessed. so what even counts as an archive argument? any of these:
- a PCP archive file name π
- the basename for the files in a PCP archive
- a directory β in which case all subordinate PCP archives are found by recursive descent π§
and here's the tea: pmlogrewrite gets run with the -i option, so rewriting happens "in place". the -q option is also used, so if no rewriting is actually required, then no changes are made to the archive files. respectful king behavior honestly. π
β¨ OPTIONS β¨
first up, these options get passed straight through to pmlogrewrite: -c (or --config), -d (or --desperate), -s (or --scale), -v (or --verbose) and -w (or --warnings). for what they actually mean, go read pmlogrewrite(1) β that's the source of truth, bestie, I'm not making stuff up here. π
and the remaining options, aka the ones that belong to this script:
-N,--showmeβ runspmlogger_rewritein a "show me" or "dry run" mode where the tasks that would be performed get reported, but no changes are made. typically used for debugging, and usually paired with one-V(verbose) or two-Voptions (very verbose). it's the "let me see the fit before I buy it" option fr fr. π-V,--verboseβ increases script output verbosity. more V's, more words. π£οΈ-?,--helpβ displays the usage message and exits. bye bestie π«Ά
β¨ 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). so like, if you need to point things somewhere else, that's your girl. πΈ
β¨ SEE ALSO β¨
PCPIntro(1), pmlogger(1), pmlogger_daily(1) and pmlogrewrite(1). the whole friend group, go say hi. π
and that's the page, babe!! this came to you courtesy of Performance Co-Pilot (that's the PCP in the corner, version vibes and all) β go forth and rewrite those archives, 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
- 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 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 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) 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