GENPMDA(1) General Commands Manual GENPMDA(1) (NAME) genpmda - PMDA Performance Co- Pilot (SYNOPSIS) genpmda [-dv] [-D domain] [-n pmns] [-o dir] [-s stdpmid] [-t topdir] -c config -i IAM (DESCRIPTION) genpmda (Performance Metrics Domain Agents) : PMDA(3). Performance Co-pilot (PCP) PMDA . genpmda (: PMNS(5)) PMDA Makefile PMDA . PMDA . PMDA (instance domain) . genpmda . (OPTIONS) : -c config config -i IAM PMDA IAM stdpmid -D domain . : -d (Install) PMDA ( DSO ) -D domain domain pmns domain.h ( -s ) -n pmns pmns ( -i ) -o dir dir ./generated -s stdpmid stdpmid ( ../../pmns/stdpmid) -t topdir topdir GNUmakefile ../../.. -v (verbose) genpmda . : PMDA "example" : genpmda -D 99 -v -i EXAMPLE -c example.conf example.conf ( -c) : example { metric } example.metric { ## metric string ## pmid EXAMPLE:CLUSTER:0 ## indom PM_INDOM_NULL ## type PM_TYPE_STRING ## units PMDA_PMUNITS(0,0,0,0,0,0) ## semantics PM_SEM_DISCRETE ## briefhelptext one line help text for example.metric.string ## helptext long help text for example.metric.string ## helptext This is the second line of the long help text ## helptext and this is the third line. ## fetch function example_string_fetch_callback ## code atom->cp = "hello world"; ## code return 1; ## endmetric } PCP (PCP ENVIRONMENT) PCP_ PCP . /etc/pcp.conf . $PCP_CONF pcp.conf(5) . (SEE ALSO) pmcd(1), PMDA(3), pcp.conf(5), pcp.env(5) PMNS(5). Performance Co-Pilot PCP GENPMDA(1)