Unix and Linux Discussions Tagged with instance |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
4 |
8,622 |
AIX |
|
|
|
6 |
8,109 |
Shell Programming and Scripting |
|
|
|
6 |
19,189 |
Shell Programming and Scripting |
|
|
|
0 |
4,443 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,059 |
Shell Programming and Scripting |
|
|
|
3 |
2,345 |
Shell Programming and Scripting |
|
|
|
4 |
25,196 |
Shell Programming and Scripting |
|
|
|
3 |
8,601 |
Shell Programming and Scripting |
|
|
|
2 |
4,991 |
UNIX for Advanced & Expert Users |
|
|
|
20 |
7,825 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
9,415 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,647 |
IP Networking |
|
|
|
7 |
11,226 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
12,519 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
15,705 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
2,472 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
17,991 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
7,126 |
Programming |
|
|
|
2 |
15,247 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
12,111 |
IP Networking |
|
|
|
5 |
6,258 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,563 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
4,809 |
IP Networking |
|
|
|
1 |
9,211 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
31,195 |
UNIX for Dummies Questions & Answers |
PMLOOKUPINDOM(3) Library Functions Manual PMLOOKUPINDOM(3)
NAME
pmLookupInDom - translate an instance name into an instance identifier
C SYNOPSIS
#include <pcp/pmapi.h>
int pmLookupInDom(pmInDom indom, const char *name);
cc ... -lpcp
DESCRIPTION
For the instance domain indom, in the current Performance Metrics Application Programming Interface (PMAPI) context, locate the instance
with the external identification given by name, and return the internal instance identifier.
Only the leading non-space characters of name will be used to identify the instance.
The value for the instance domain indom is typically extracted from a pmDesc structure, following a call to pmLookupDesc(3) for a particu-
lar performance metric.
pmLookupInDom will return a positive instance identifier on success.
SEE ALSO
PMAPI(3), pmGetConfig(3), pmGetInDom(3), pmLookupDesc(3), pmLookupInDomArchive(3), pmNameInDom(3), pcp.conf(5) and pcp.env(5).
DIAGNOSTICS
PM_ERR_INDOM
indom is not a valid instance domain identifier
PM_ERR_INST
The external instance name is not known for the instance domain indom in the current PMAPI context
Performance Co-Pilot PCP PMLOOKUPINDOM(3)