PMDAHELP - Online Linux Manual PageSection : 3
Updated : PCP
Source : Performance Co-Pilot
NAMEpmdaOpenHelp, pmdaGetHelp, pmdaGetInDomHelp, pmdaCloseHelp − help text support for a PMDA
C SYNOPSIS#include <pcp/pmapi.h>
#include <pcp/pmda.h> int pmdaOpenHelp(const char *fname);
char *pmdaGetHelp(int handle, pmID pmid, int type);
char *pmdaGetInDomHelp(int handle, pmInDom indom, int type);
void pmdaCloseHelp(int handle); cc ... −lpcp_pmda −lpcp
DESCRIPTIONAs part of the Performance Metrics Domain Agent (PMDA) API (see PMDA(3)), this group of routines is used to implement the processing of a PMDA's metric help information. These routines are really intended for internal use, and should not need to be called directly from any PMDA code. Briefly, the base name of the help text file (as created by newhelp(1)) is passed in via a −h command line option for a daemon PMDA or as an argument to pmdaDaemon(3) or pmdaDSO(3). Then pmdaOpenHelp is called from pmdaInit(3) and returns a handle that is used in subsequent calls to identify a particular help text collection (each PMDA typically has only one such collection). Requests for help text are passed to pmdaText(3) which calls pmdaGetHelp or pmdaGetInDomHelp as required. Other than error cases in pmdaOpenHelp, pmdaCloseHelp is not called.
DIAGNOSTICSpmdaOpenHelp returns a negative value for failure, suitable for decoding with pmErrStr(3). pmdaGetHelp and pmdaGetInDomHelp return NULL if the corresponding help text does not exist.
CAVEATThe PMDA must be using PMDA_PROTOCOL_2 or later, as specified in the call to pmdaDSO(3) or pmdaDaemon(3).
SEE ALSOnewhelp(1), PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3), pmdaInit(3), pmdaText(3) and pmErrStr(3). 0
Johanes Gumabo
Data Size : 7,915 byte
man-pmdaHelp.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 6 / 181,920
Visitor ID : :
Visitor IP : 3.16.49.213 :
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.