PMDASIMPLE(1) | General Commands Manual | PMDASIMPLE(1) |
pmdasimple - simple performance metrics domain agent (PMDA)
$PCP_PMDAS_DIR/simple/pmdasimple [-d domain] [-i port] [-l logfile] [-p] [-u socket] [-U username]
pmdasimple is a simple Performance Metrics Domain Agent (PMDA) which exports a small number of synthetic performance metrics.
The simple PMDA is shipped as source code and is designed to be an aid for PMDA developers. In terms of code size and features, it is more complex than the trivial PMDA, about the same as the txmon PMDA and less complex than the sample PMDA. The source for the simple PMDA is a good template from which production, customized PMDAs can be developed.
A brief description of the pmdasimple command line options follows:
At most one of the options -i, -p and -u may be specified.
If you want access the names, help text and values for the simple performance metrics, do the following as root:
# cd $PCP_PMDAS_DIR/simple # ./Install
If you want to undo the installation, do the following as root:
# cd $PCP_PMDAS_DIR/simple # ./Remove
pmdasimple is launched by pmcd(1) and should never be executed directly. The Install and Remove scripts notify pmcd(1) when the agent is installed or removed.
$ pminfo -T simple.now
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).
PCPIntro(1), pmcd(1), pmdasample(1), pmdatrivial(1), pmdatxmon(1), PMDA(3), pcp.conf(5) and pcp.env(5).
PCP | Performance Co-Pilot |