pmDerivedErrStr
return error message from failure to parse derived metric definition
- Provided by: libpcp3-dev (Version: 5.3.6-1build1)
- Source: pcp
- Report a bug
return error message from failure to parse derived metric definition
#include <pcp/pmapi.h>
char *pmDerivedErrStr(void);
cc ... -lpcp
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.