PMLOGSIZE(1)               General Commands Manual              PMLOGSIZE(1)

NAME         top

       pmlogsize - report sizes for parts of PCP archive(s)

SYNOPSIS         top

       pmlogsize [-drv] [-x thres] archive ...

DESCRIPTION         top

       pmlogsize prints information about the size of the index, metadata
       and data sections of a Performance Co-Pilot (PCP) archive.  The
       output is intended to guide improvements in archive encoding format
       for PCP developers and to help trim pmlogger(1) configuration files
       to remove 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 the latter case
       archive is replaced by a list of all of the matching component file

       Note the semantics is a little different to other PCP tools in that
       foo.meta means just the file foo.meta, not foo.index, foo.meta,
       foo.0, etc.

       The -d flag requests more detailed reporting.  This means space per
       instance domain in a metadata file and space per metric (for values)
       in a data file.

       The -r flag requests additional information about possible replicated
       values in the data file and replicated instances in the metadata
       file.  It implies -d.

       When the -d (or -r) flag is specified, the -x flag may be used to cut
       off the report after at least thres percent of the associated space
       (metric values or instance domains) has been reported.  The default
       behaviour is equivalent to thres being set to 100.

       Additional verbosity can be enabled with one or more -v flags.

SEE ALSO         top

       PCPIntro(1), pmdumplog(1), pmlogcheck(1) and pmlogger(1).

DIAGNOSTICS         top

       All are generated on standard error and are intended to be self-

COLOPHON         top

       This page is part of the PCP (Performance Co-Pilot) project.
       Information about the project can be found at ⟨⟩.
       If you have a bug report for this manual page, send it to  This page was obtained from the project's upstream
       Git repository ⟨⟩ on
       2018-04-30.  (At that time, the date of the most recent commit that
       was found in the repository was 2018-04-30.)  If you discover any
       rendering problems in this HTML version of the page, or you believe
       there is a better or more up-to-date source for the page, or you have
       corrections or improvements to the information in this COLOPHON
       (which is not part of the original manual page), send a mail to

Performance Co-Pilot                 PCP                        PMLOGSIZE(1)