pmlogpaste(1) — Linux manual page


PMLOGPASTE(1)            General Commands Manual           PMLOGPASTE(1)

NAME         top

       pmlogpaste - paste text into a metric in a PCP archive

SYNOPSIS         top

       pmlogpaste [-?]  [-f file] [-h hostname] [-m metric] [-o outfile]
       [-t timezone] [-l label]

DESCRIPTION         top

       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.

OPTIONS         top

       The available command line options are:

       -h hostname, --hostname=hostname
              source host name for a LOGIMPORT archive.  The default
              value is the local host name, or ``localhost'' if that
              cannot be obtained.

       -t timezone, --timezone=timezone
              source timezone for a LOGIMPORT archive.  The default
              value is the local timezone.

       -m metric, --metric=metric
              metric name for a LOGIMPORT archive.  The default metric
              name is paste.value.

       -f file, --file=file
              file with input text to be archived, or ``-'' for standard

       -o outfile, --outfile=outfile
              archive output file.  The default archive name is paste.

       -l label, --label=label
              Add context labels to the generated archive.  This option
              can be presented multiple times to produce multiple labels
              in the archive.  The label should be in the form

       -?, --help
              Display usage message and exit.

DIAGNOSTICS         top

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


       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

SEE ALSO         top

       PCPIntro(1), pmcd(1), pmlogextract(1) and LOGIMPORT(3).

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 2020-12-18.
       (At that time, the date of the most recent commit that was found
       in the repository was 2020-12-18.)  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                     PMLOGPASTE(1)