1PMDADESC(3) Library Functions Manual PMDADESC(3)
2
3
4
6 pmdaDesc - get the description of a metric from a PMDA
7
9 #include <pcp/pmapi.h>
10 #include <pcp/pmda.h>
11
12 int pmdaDesc(pmID pmid, pmDesc *desc, pmdaExt *pmda);
13
14 cc ... -lpcp_pmda -lpcp
15
17 pmdaDesc uses the standard PMDA(3) data structures to return the pmDesc
18 description in desc for the metric identified by pmid.
19
21 The PMDA must be using PMDA_INTERFACE_2 or later, as specified in the
22 call to pmdaDSO(3) or pmdaDaemon(3).
23
25 If the pmid does not correspond to any metric supported by this PMDA,
26 pmdaDesc returns PM_ERR_PMID.
27
29 PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmLookupDesc(3).
30
31
32
33Performance Co-Pilot PCP PMDADESC(3)