PMDERIVEDCONTROL - Online Linux Manual PageSection : 3
Updated :
Source : Performance Co-Pilot

NAMEpmGetDerivedControl, pmSetDerivedControl − get and set controls for derived metrics

C SYNOPSIS#include <pcp/pmapi.h> int pmGetDerivedControl(int what, int *valuep);
int pmSetDerivedControl(int
what, int value); cc ... −lpcp

DESCRIPTIONThese routines may be used to influence the behaviour of the derived metric services that are activated for global derived metrics using pmRegisterDerived(3), pmRegisterDerivedMetric(3) and pmLoadDerivedConfig(3), or per-context derived metrics using pmAddDerived(3) and pmAddDerivedDerived(3). The what argument selects a control, the value argument provides a value for pmSetDerivedControl and the valuep argument is used to return the value for pmGetDerivedControl. The what argument has one of the following values: PCP_DERIVED_GLOBAL_LIMIT  The maximum number of global derived metrics that may be defined. The value −1 indicates no limit. PCP_DERIVED_CONTEXT_LIMIT  The maximum number of per-context derived metrics that may be defined. The value −1 indicates no limit. PCP_DERIVED_DEBUG_SYNTAX  Debug diagnostics during parsing of derived metric expression. The value 1 enables the diagnostics, the value 0 disables them. PCP_DERIVED_DEBUG_SEMANTICS  Debug diagnostics for semantic checks during the binding of metrics in the derived metric expression to the available metrics in a new PMAPI context. The value 1 enables the diagnostics, the value 0 disables them. PCP_DERIVED_DEBUG_EVAL  Debug diagnostics when derived metrics are used in PMAPI operations like pmFetch(3), pmGetChildren(3), pmGetChildrenStatus(3), pmLookupDesc(3), pmLookupName(3), pmNameAll(3), pmNameID(3) and pmTraversePMNS(3).

RETURN VALUESBoth routines return 0 on success, else a value less than 0 that can be decoded using pmErrStr(3).

SEE ALSOPCPIntro(1), pmAddDerived(3), pmAddDerivedMetric(3), PMAPI(3), pmErrStr(3), pmLoadDerivedConfig(3), pmRegisterDerived(3), pmRegisterDerivedMetric(3) and PMNS(5).
0
Johanes Gumabo
Data Size   :   8,762 byte
man-pmDerivedControl.3Build   :   2024-12-05, 20:55   :  
Visitor Screen   :   x
Visitor Counter ( page / site )   :   2 / 201,979
Visitor ID   :     :  
Visitor IP   :   3.22.217.176   :  
Visitor Provider   :   AMAZON-02   :  
Provider Position ( lat x lon )   :   39.962500 x -83.006100   :   x
Provider Accuracy Radius ( km )   :   1000   :  
Provider City   :   Columbus   :  
Provider Province   :   Ohio ,   :   ,
Provider Country   :   United States   :  
Provider Continent   :   North America   :  
Visitor Recorder   :   Version   :  
Visitor Recorder   :   Library   :  
Online Linux Manual Page   :   Version   :   Online Linux Manual Page - Fedora.40 - march=x86-64 - mtune=generic - 24.12.05
Online Linux Manual Page   :   Library   :   lib_c - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Online Linux Manual Page   :   Library   :   lib_m - 24.10.03 - march=x86-64 - mtune=generic - Fedora.40
Data Base   :   Version   :   Online Linux Manual Page Database - 24.04.13 - march=x86-64 - mtune=generic - fedora-38
Data Base   :   Library   :   lib_c - 23.02.07 - march=x86-64 - mtune=generic - fedora.36

Very long time ago, I have the best tutor, Wenzel Svojanovsky . If someone knows the email address of Wenzel Svojanovsky , please send an email to johanes_gumabo@yahoo.co.id .
If error, please print screen and send to johanes_gumabo@yahoo.co.id
Under development. Support me via PayPal.