Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   pmlogger_check    ( 1 )

администрирование файлов журналов архива Performance Co-Pilot (administration of Performance Co-Pilot archive log files)

Файлы (Files)

$PCP_PMLOGGERCONTROL_PATH the PCP logger control file. For a new installation this file contains no pmlogger(1) control lines (the real control files are all in the $PCP_PMLOGGERCONTROL_PATH.d directory), but this file is still processed to support any legacy configurations therein from earlier PCP releases. Warning: this file must not be writable by any user other than root.

$PCP_PMLOGGERCONTROL_PATH.d optional directory containing additional PCP logger control files, typically one per host Warning: the files herein must not be writable by any user other than root.

$PCP_SYSCONF_DIR/pmlogger/crontab sample crontab for automated script execution by $PCP_USER (or root). Exists only if the platform does not support the /etc/cron.d mechanism.

$PCP_VAR_DIR/config/pmlogger/config.default default pmlogger configuration file location for the local primary logger, typically generated automatically by pmlogconf(1).

$PCP_ARCHIVE_DIR/<hostname> default location for archives of performance information collected from the host hostname

$PCP_ARCHIVE_DIR/<hostname>/lock transient lock file to guarantee mutual exclusion during pmlogger administration for the host hostname - if present, can be safely removed if neither pmlogger_daily nor pmlogger_check are running

$PCP_ARCHIVE_DIR/<hostname>/Latest PCP archive folio created by mkaf(1) for the most recently launched archive containing performance metrics from the host hostname

$PCP_LOG_DIR/NOTICES PCP ``notices'' file used by pmie(1) and friends

$PCP_LOG_DIR/pmlogger/pmlogger_check.log if the previous execution of pmlogger_check produced any output it is saved here. The normal case is no output in which case the file does not exist.

$PCP_LOG_DIR/pmlogger/pmlogger_daily.log if the previous execution of pmlogger_daily produced any output it is saved here. The normal case is no output in which case the file does not exist.

$PCP_ARCHIVE_DIR/<hostname>/SaveLogs if this directory exists, then the log file from the -l argument of a newly launched pmlogger(1) for hostname will be linked into this directory with the name archive.log where archive is the basename of the associated pmlogger(1) PCP archive files. This allows the log file to be inspected at a later time, even if several pmlogger(1) instances for hostname have been launched in the interim. Because the cron-driven PCP archive management scripts run under the uid of the user ``pcp'', $PCP_ARCHIVE_DIR/hostname/SaveLogs typically needs to be owned by the user ``pcp''.

$PCP_LOG_DIR/pmlogger/.NeedRewrite if this file exists, then this is treated as equivalent to using -R on the command line and the file will be removed once all rewriting has been done.