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/impl.h>
11 #include <pcp/pmda.h>
12
13 int pmdaDesc(pmID pmid, pmDesc *desc, pmdaExt *pmda);
14
15 cc ... -lpcp_pmda -lpcp
16
18 pmdaDesc uses the standard PMDA(3) data structures to return the pmDesc
19 description in desc for the metric identified by pmid.
20
22 If the pmid does not correspond to any metric supported by this PMDA,
23 pmdaDesc returns PM_ERR_PMID.
24
26 The PMDA must be using PMDA_INTERFACE_2 or later, as specified in the
27 call to pmdaDSO(3) or pmdaDaemon(3).
28
30 PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmLookupDesc(3).
31
32
33
34Performance Co-Pilot SGI PMDADESC(3)