PMLOGSIZE(1)
π PMLOGSIZE(1) π
okay bestie, gather round, because we're diving into pmlogsize from the General Commands Manual and honestly? it's giving archive detective energy πβ¨
πΈ NAME πΈ
pmlogsize β report sizes for parts of PCP archive(s) π«Ά
β¨ SYNOPSIS β¨
pmlogsize [-drv?] [-D debug] [-x threshold] archive [...]
π DESCRIPTION π
so pmlogsize prints info about the size of the index, metadata and data sections of a Performance Co-Pilot (PCP) archive. no cap. π
and like, who is this for? two whole groups, bestie:
- it's meant to guide improvements in archive encoding format for PCP developers π©βπ»
- and it helps trim
pmlogger(1)configuration files so you can yeet metrics that are bloating the PCP archives with low-value data in production environments ποΈβ¨
the archive arguments can be any mixture of:
- the names of the physical files of a PCP archive, or
- the basename that is common to all the component physical files in a single archive
in that second case, archive gets replaced by a list of all the matching component file names. slay, convenient. π
β οΈ heads up bestie, the semantics is a little different to other PCP tools in thatfoo.metameans just the filefoo.meta, notfoo.index,foo.meta,foo.0, etc. not me being pedantic, that's just literally how it works π
π OPTIONS π
the available command line options are, in no particular order because they're all iconic:
-d,--detailβ enable detailed reporting π§ this means space per instance domain in a metadata file and space per metric (for values) in a data file.-r,--replicationβ display additional info about possible replicated values in the data file and replicated instances in the metadata file π this option implies-d, so you get the detail too, no extra charge.-xthreshold,--threshold=thresholdβ with-d(or-r), cut off the report after at least threshold percent of the associated space (metric values or instance domains) has been reported βοΈ the default behaviour is equivalent to threshold being set to100.-v,--verboseβ enable verbose mode π£οΈ this option can be provided more than once for additional verbosity (go off, stack 'em).-?,--helpβ display usage message and exit π
π DEBUGGING OPTIONS π
the -D or --debug option enables the output of additional diagnostics on stderr to help triage problems π©Ί although ngl, the information is sometimes cryptic and primarily intended to provide guidance for developers rather than for end-users. iykyk.
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 π
π 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) π§
π¦ SEE ALSO π¦
PCPIntro(1), pmlogcheck(1), pmlogdump(1) and pmlogger(1) π
and that's the whole vibe check, bestie π this page came to you straight from Performance Co-Pilot, aka PCP β mwah, take care of her, she's doing her best πβ¨π«Ά 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
- 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) 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