PMNOTIFYERR - Online Linux Manual PageSection : 3
Updated : PCP
Source : Performance Co-Pilot
NAMEpmNotifyErr, pmSyslog − standard handling of error messages
C SYNOPSIS#include <pcp/pmapi.h> void pmNotifyErr(int priority, const char *message, ...);
void pmSyslog(int onoff); cc ... −lpcp
DESCRIPTIONThese routines provide standard handling for error messages from within the internals of Performance Co-Pilot (PCP) daemons and Performance Metric Domain Agents (PMDAs). pmNotifyErr is a printf(3) style function that will format message (and any subsequent arguments) with a prefix that includes the current date and time from ctime(3), the name of the application from pmGetProgname(3), the process's id from getpid(2) and the priority. priority should be one of the level LOG_ macros defined for syslog(3). Most typically this would be LOG_INFO, LOG_WARNING or LOG_ERR. pmNotifyErr writes to standard error, which for daemons and PMDAs has most likely been redirected to a log file using pmOpenLog(3). Additionally message (and any subsequent arguments) may be sent forwarded to syslog(3) if pmSyslog has previously been called with onoff having a non-zero value. Forwarding to syslog(3) can be disabled at any time by calling pmSyslog with onoff having a zero value, and this is the starting state for each PCP application. In the style of syslog(3) message need not include a terminating newline character (one will be added if required).
SEE ALSOgetpid(2), ctime(3), PMAPI(3), pmGetProgname(3), pmOpenLog(3), printf(3) and syslog(3). 0
Johanes Gumabo
Data Size : 6,658 byte
man-pmNotifyErr.3Build : 2024-12-05, 20:55 :
Visitor Screen : x
Visitor Counter ( page / site ) : 4 / 201,376
Visitor ID : :
Visitor IP : 3.145.2.6 :
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.