PMLOGGER_REWRITE(1) | General Commands Manual | PMLOGGER_REWRITE(1) |
pmlogger_rewrite - helper script to rewrite Performance Co-Pilot archives
$PCP_BINADM_DIR/pmlogger_rewrite [-dNsVvw?] [-c config] archive ...
pmlogger_rewrite is a helper script that is used by pmlogger_daily(1) when rewriting Performance Co-Pilot (PCP) archives. Rewriting is usually required to accommodate evolutionary changes in metadata so old archives can be updated and then merged with current archives.
pmlogger_rewrite is a wrapper script for pmlogrewrite(1) that will potentially rewrite all of the archive logs matching the archive arguments. Each archive argument may be a PCP archive file name, the basename for the files in a PCP archive, or a directory (in which case all subordinate PCP archives are found by recursive descent).
pmlogrewrite is run with the -i option so rewriting is done ``in place''. The -q option is also used, so if no rewriting is required then no changes are made to the archive files.
The following options are passed through to pmlogrewrite: -c, -d, -s, -v and -w. Refer to pmlogrewrite(1) for the meaning of these options.
The remaining options are:
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).
PCPIntro(1), pmlogger(1), pmlogger_daily(1) and pmlogrewrite(1).
PCP | Performance Co-Pilot |