pmInDom pmInDom_build(unsigned int domain, unsigned int serial);
unsigned int pmInDom_domain(pmInDom indom);
unsigned int pmInDom_serial(pmInDom indom);
cc ... -lpcp
Within the Performance Co-Pilot (PCP) each instance domain is assigned a unique Instance Domain Identifier (pmInDom). Internally a pmInDom is constructed from 2 fields: the domain number (of the associated Performance Metrics Domain Agent, or PMDA) and the serial number (assigned by the PMDA).
pmInDom_build constructs a pmInDom from domain and serial.
pmInDom_domain and pmInDom_serial return the respective fields from indom.
PMAPI(3) and pmInDomStr(3).
The man pages pmInDom_domain(3) and pmInDom_serial(3) are aliases of pmInDom_build(3).