}
    

##  DIAGNOSTICS  top

    
    
           All error conditions detected by **pmlogrewrite** are reported on
           _stderr_ with textual (if sometimes terse) explanation.
    
           Should the input archive be corrupted (this can happen if the
           **pmlogger** instance writing the archive suddenly dies), then
           **pmlogrewrite** will detect and report the position of the
           corruption in the file, and any subsequent information from that
           archive will not be processed.
    
           If the input archive contains no archive records then an ``empty
           archive'' warning is issued and no processing is performed.
    
           If any error is detected, **pmlogrewrite** will exit with a non-zero
           status.
    

##  FILES  top

    
    
           For each of the _inlog_ and _outlog_ archives, several physical files
           are used.
    
           _archive_**.meta**
                metadata (metric descriptions, instance domains, etc.) for
                the archive
    
           _archive_**.0**
                initial volume of metrics values (subsequent volumes have
                suffixes **1** , **2** , ...).
    
           _archive_**.index**
                temporal index to support rapid random access to the other
                files in the archive.
    

##  PCP ENVIRONMENT  top

    
    
           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)](../man5/pcp.conf.5.html).
    
           For environment variables affecting PCP tools, see
           [pmGetOptions(3)](../man3/pmGetOptions.3.html).
    

##  SEE ALSO  top

    
    
           [PCPIntro(1)](../man1/PCPIntro.1.html), [pmdumplog(1)](../man1/pmdumplog.1.html), [pmlogextract(1)](../man1/pmlogextract.1.html), [pmlogger(1)](../man1/pmlogger.1.html),
           [pmloglabel(1)](../man1/pmloglabel.1.html), [pmlogredact(1)](../man1/pmlogredact.1.html), [pmlogreduce(1)](../man1/pmlogreduce.1.html), [PMAPI(3)](../man3/PMAPI.3.html),
           [pmdaInstance(3)](../man3/pmdaInstance.3.html), [pmLookupDesc(3)](../man3/pmLookupDesc.3.html), [tzset(3)](../man3/tzset.3.html), [LOGARCHIVE(5)](../man5/LOGARCHIVE.5.html),
           [pcp.conf(5)](../man5/pcp.conf.5.html), [pcp.env(5)](../man5/pcp.env.5.html), [PMNS(5)](../man5/PMNS.5.html) and [regex(7)](../man7/regex.7.html).
    

##  COLOPHON  top

    
    
           This page is part of the _PCP_ (Performance Co-Pilot) project.
           Information about the project can be found at 
           â¨<http://www.pcp.io/>â©.  If you have a bug report for this manual
           page, send it to pcp@groups.io.  This page was obtained from the
           project's upstream Git repository
           â¨<https://github.com/performancecopilot/pcp.git>â© on 2023-12-22.
           (At that time, the date of the most recent commit that was found
           in the repository was 2023-12-16.)  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
           man-pages@man7.org
    
    Performance Co-Pilot                                     _PMLOGREWRITE_(1)
    

* * *

Pages that refer to this page: [ pmdaperfevent(1)
](../man1/pmdaperfevent.1.html) , [ pmlogcheck(1) ](../man1/pmlogcheck.1.html)
, [ pmlogextract(1) ](../man1/pmlogextract.1.html) , [ pmlogger_daily(1)
](../man1/pmlogger_daily.1.html) , [ pmlogger_rewrite(1)
](../man1/pmlogger_