logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

pmdaDesc - get the description of a metric from a PMDA

C Synopsis

#include<pcp/pmapi.h>#include<pcp/pmda.h>intpmdaDesc(pmIDpmid,pmDesc*desc,pmdaExt*pmda);cc...-lpcp_pmda-lpcp

Caveat

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

Description

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

Diagnostics

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

Name

pmdaDesc - get the description of a metric from a PMDA

See Also

PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3) and pmLookupDesc(3).

Performance Co-Pilot                                   PCP                                           PMDADESC(3)

See Also