PMLOGPASTE(1) | General Commands Manual | PMLOGPASTE(1) |
pmlogpaste - paste text into a metric in a PCP archive
pmlogpaste [-?] [-f file] [-h hostname] [-l label] [-m metric] [-o outfile] [-t timezone]
pmlogpaste takes input text from a file or the command line, and writes it as a metric value in a new PCP archive. This metric value is timestamped with the current time, and is stored as a string type metric.
The main purpose of this tool is to take captured output and preserve this in a PCP archive. This allows, for example, the output of a benchmark run to be stored along with performance metrics captured during that run, in a single archive. Archives can be merged using the pmlogextract(1) utility.
pmlogpaste uses the LOGIMPORT(3) library interfaces internally, which support the creation of archives from external sources of performance data.
The available command line 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).
PCP | Performance Co-Pilot |