Unix and Linux Discussions Tagged with performance |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
52,569 |
Web Development |
|
|
|
3 |
3,658 |
UNIX for Beginners Questions & Answers |
|
|
|
6 |
13,631 |
Windows & DOS: Issues & Discussions |
|
|
|
17 |
15,773 |
Shell Programming and Scripting |
|
|
|
14 |
13,052 |
What is on Your Mind? |
|
|
|
6 |
10,623 |
Shell Programming and Scripting |
|
|
|
8 |
18,114 |
AIX |
|
|
|
5 |
6,156 |
AIX |
|
|
|
5 |
1,830 |
UNIX for Beginners Questions & Answers |
|
|
|
7 |
3,431 |
Shell Programming and Scripting |
|
|
|
11 |
9,053 |
Solaris |
|
|
|
11 |
6,227 |
AIX |
|
|
|
12 |
3,306 |
Shell Programming and Scripting |
|
|
|
1 |
3,488 |
Shell Programming and Scripting |
|
|
|
3 |
10,812 |
Virtualization and Cloud Computing |
|
|
|
182 |
163,187 |
SuSE |
|
|
|
13 |
4,425 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
4,303 |
OS X (Apple) |
|
|
|
7 |
6,223 |
Shell Programming and Scripting |
|
|
|
0 |
3,360 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,235 |
AIX |
|
|
|
2 |
5,008 |
High Performance Computing |
|
|
|
6 |
13,117 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
7,406 |
AIX |
|
|
|
6 |
8,923 |
AIX |
|
|
|
5 |
14,002 |
AIX |
|
|
|
7 |
7,174 |
AIX |
|
|
|
1 |
4,677 |
AIX |
|
|
|
7 |
4,097 |
Shell Programming and Scripting |
|
|
|
1 |
14,242 |
Tips and Tutorials |
|
|
|
7 |
16,366 |
AIX |
|
|
|
2 |
10,335 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
13,668 |
AIX |
|
|
|
14 |
5,371 |
Programming |
|
|
|
3 |
2,925 |
UNIX and Linux Applications |
|
|
|
0 |
4,602 |
Solaris |
|
|
|
1 |
4,238 |
Solaris |
|
|
|
1 |
2,569 |
Shell Programming and Scripting |
|
|
|
9 |
3,940 |
Solaris |
|
|
|
7 |
6,443 |
Solaris |
PMDAPMID(3) Library Functions Manual PMDAPMID(3)
NAME
pmdaPMID - translate a dynamic performance metric name into a PMID
C SYNOPSIS
#include <pcp/pmapi.h>
#include <pcp/impl.h>
#include <pcp/pmda.h>
int pmdaPMID(char *name, pmID *pmid, pmdaExt *pmda);
cc ... -lpcp_pmda -lpcp
DESCRIPTION
As part of the Performance Metrics Domain Agent (PMDA) API (see PMDA(3)), pmdaPMID is the generic callback for translating a dynamic metric
name into a PMID (pmid).
Because implementing dynamic performance metrics requires specific PMDA support, and the facility is an optional component of a PMDA (most
PMDAs do not support dynamic performance metrics), pmdaPMID is a skeleton implementation that returns PM_ERR_NAME.
A PMDA that supports dynamic performance metrics will provide a private callback that replaces pmdaPMID (by assignment to version.four.pmid
of the pmdaInterface structure) and implements the translation from a dynamic performance metric name into the associated pmid.
DIAGNOSTICS
pmdaPMID returns PM_ERR_NAME if the name is not recognized or cannot be translated, else returns 0.
CAVEAT
The PMDA must be using PMDA_PROTOCOL_4 or later, as specified in the call to pmdaDSO(3) or pmdaDaemon(3).
SEE ALSO
PMAPI(3), PMDA(3), pmdaDaemon(3), pmdaDSO(3), pmdaMain(3) and pmLookupName(3).
Performance Co-Pilot PCP PMDAPMID(3)