1PMDADESC(3)                Library Functions Manual                PMDADESC(3)
2
3
4

NAME

6       pmdaDesc - get the description of a metric from a PMDA
7

C SYNOPSIS

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

DESCRIPTION

18       pmdaDesc uses the standard PMDA(3) data structures to return the pmDesc
19       description in desc for the metric identified by pmid.
20

DIAGNOSTICS

22       If the pmid does not correspond to any metric supported by  this  PMDA,
23       pmdaDesc returns PM_ERR_PMID.
24

CAVEAT

26       The  PMDA  must be using PMDA_INTERFACE_2 or later, as specified in the
27       call to pmdaDSO(3) or pmdaDaemon(3).
28

SEE ALSO

30       PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmLookupDesc(3).
31
32
33
34Performance Co-Pilot                  PCP                          PMDADESC(3)
Impressum