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/pmda.h>
11
12       int pmdaDesc(pmID pmid, pmDesc *desc, pmdaExt *pmda);
13
14       cc ... -lpcp_pmda -lpcp
15

DESCRIPTION

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

CAVEAT

21       The PMDA must be using PMDA_INTERFACE_2 or later, as specified  in  the
22       call to pmdaDSO(3) or pmdaDaemon(3).
23

DIAGNOSTICS

25       If  the  pmid does not correspond to any metric supported by this PMDA,
26       pmdaDesc returns PM_ERR_PMID.
27

SEE ALSO

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