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

C Synopsis

#include <pcp/pmapi.h>

char *pmDerivedErrStr(void);

cc ... -lpcp

Description

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

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

Referenced By

pmRegisterDerived(3).

The man page pmderivederrstr(3) is an alias of pmDerivedErrStr(3).

Performance Co-Pilot