is a Performance Metrics Domain Agent (PMDA) which exports transaction
performance metrics from application processes which use the
library described in
A brief description of the
command line options follows:
It is absolutely crucial that the performance metrics
number specified here is unique and consistent.
should be different for every PMDA on the one host, and the same
number should be used for the same PMDA on all hosts.
Location of the log file. By default, a log file named
is written in the current directory of
is started, i.e.
If the log file cannot
be created or is not writable, output is written to the standard error instead.
Host-based access control for
must be either an allow or deny specification, using either
allow:hostspec:maxconns or disallow:hostspec, where `allow' and `disallow' are
keywords, `hostspec' is a host specification conforming to the format used by
and `maxconns' is the maximum number of connections allowed from a given
Using a maximum connections of zero specifies an unlimited number of
connections for the accompanying `hostspec'.
clients via the given Internet
This can alternatively be specified by setting
in the environment to some valid port number (use of the
option overrides this).
The default port number is 4323.
period defines the aggregation period used to compute the recent
averages and extrema.
Specified as a time interval using the syntax described in
for the common
PCP argument, e.g. 30 seconds
The default is 60 seconds.
Internally, the aggregation period is divided into bucket
divisions, and the rolling average is recomputed every
For example, the defaults correspond to -T 60 and -N 12, which means
the average is recomputed every five seconds for a period covering the
prior 60 seconds.
This option allows the dimension and scale associated with the observation
value metric to be configured.
units is a comma-separated string of six integer values, which are the
space dimension, time dimension, count dimension, space scale, time scale, and
count scale, respectively.
The default dimension and scale is ``none'', which is equivalent to
presenting ``0,0,0,0,0,0'' as the argument to -U.
The units associated with a metric are most easily viewed using the -d
(metric description) option to
The Install script described below steps through this option quite explicitly,
so it is recommended that the Install script be used for building up the
Essentially, the exported metrics provide statistics on the time for
completion of each transaction, and an average count of transactions completed
and watch points passed over a given time period.
In order for a host to export the names, help text and values for the Trace
performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/trace
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/trace
is launched by
and should never be executed directly.
The Install and Remove scripts notify
when the agent is installed or removed.
command line options used to launch
default help text file for the trace metrics
example programs which use the
installation script for the
undo installation script for
default log file for error messages and other information from
Environment variables with the prefix
are used to parameterize the file and directory names
used by PCP.
On each installation, the file
contains the local values for these variables.
variable may be used to specify an alternative
as described in