pmInDom_build, pmInDom_domain, pmInDom_serial — helper methods for manipulating instance domain identifiers

C Synopsis

#include <pcp/pmapi.h>

pmInDom pmInDom_build(unsigned int domain, unsigned int serial);
unsigned int pmInDom_domain(pmInDom indom);
unsigned int pmInDom_serial(pmInDom indom);

cc ... -lpcp

Description

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.

See Also

PMAPI(3) and pmInDomStr(3).

Referenced By

The man pages pmInDom_domain(3), pmindom_helper(3) and pmInDom_serial(3) are aliases of pmInDom_build(3).

PCP Performance Co-Pilot