PMDERIVEDERRSTR(3)        Library Functions Manual        PMDERIVEDERRSTR(3)

NAME         top

       pmDerivedErrStr  - return error message from failure to parse derived
       metric definition

C SYNOPSIS         top

       #include <pcp/pmapi.h>

       char *pmDerivedErrStr(void);

       cc ... -lpcp

DESCRIPTION         top

       When pmRegisterDerived(3) is called to add a new derived metric
       definition and an error occurs, pmDerivedErrStr may be called to
       return the associated error message.

       The pmRegisterDerivedMetric interface provides a convenience wrapper
       around both pmRegisterDerived and pmDerivedErrStr.

SEE ALSO         top

       PCPIntro(1), PMAPI(3) and pmRegisterDerived(3).

COLOPHON         top

       This page is part of the PCP (Performance Co-Pilot) project.
       Information about the project can be found at ⟨⟩.
       If you have a bug report for this manual page, send it to  This page was obtained from the project's upstream
       Git repository ⟨⟩ on
       2017-09-15.  If you discover any rendering problems in this HTML ver‐
       sion of the page, or you believe there is a better or more up-to-date
       source for the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original man‐
       ual page), send a mail to

Performance Co-Pilot                                      PMDERIVEDERRSTR(3)

Pages that refer to this page: pmregisterderived(3)