Query: pmdadesc
OS: centos
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
PMDADESC(3) Library Functions Manual PMDADESC(3)NAMEpmdaDesc - get the description of a metric from a PMDAC SYNOPSIS#include <pcp/pmapi.h> #include <pcp/impl.h> #include <pcp/pmda.h> int pmdaDesc(pmID pmid, pmDesc *desc, pmdaExt *pmda); cc ... -lpcp_pmda -lpcpDESCRIPTIONpmdaDesc uses the standard PMDA(3) data structures to return the pmDesc description in desc for the metric identified by pmid.DIAGNOSTICSIf the pmid does not correspond to any metric supported by this PMDA, pmdaDesc returns PM_ERR_PMID.CAVEATThe PMDA must be using PMDA_INTERFACE_2 or later, as specified in the call to pmdaDSO(3) or pmdaDaemon(3).SEE ALSOPMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmLookupDesc(3). Performance Co-Pilot PCP PMDADESC(3)