PMTRACE(1) | General Commands Manual | PMTRACE(1) |
pmtrace - command line performance instrumentation
pmtrace [-q?] [-c value | -e command | -v value] [-h host] [-S state] tag
pmtrace provides a simple command line interface to the trace Performance Metrics Domain Agent (PMDA) and the associated pcp_trace library.
The default pmtrace behavior is to provide point trace data to the trace PMDA, using the tag argument as the identifying name associated with each trace point. The tag then becomes an instance identifier within the set of trace.point metrics.
The available command line options are:
All are generated on standard error and are intended to be self-explanatory.
The pmtrace exit status is always zero except when the -e option is in use, in which case the exit status of command is returned.
Since pmtrace uses the libpcp_trace library routines, the environment variables PCP_TRACE_HOST, PCP_TRACE_PORT, and PCP_TRACE_TIMEOUT are all honored. Refer to pmdatrace(3) for a detailed description of the semantics of each.
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).
pmcd(1), pmdatrace(1), pmprobe(1), PMAPI(3) and pmdatrace(3).
PCP | Performance Co-Pilot |