pmID_build(3)

pmID_build3

Helper methods for manipulating pmids

C synopsis

#include <pcp/pmapi.h>

pmID pmID_build(unsigned int domain, unsigned int cluster, unsigned int item);
unsigned int pmID_domain(pmID pmid);
unsigned int pmID_cluster(pmID pmid);
unsigned int pmID_item(pmID pmid);

cc ... -lpcp

Overview

Within the Performance Co-Pilot (PCP) each metric is assigned a unique Performance Metric Identifier (pmID). Internally a pmID is constructed from 3 fields: the domain number (of the associated Performance Metrics Domain Agent, or PMDA), the cluster number and the item number (the last two are assigned by the PMDA).

pmID_build constructs a pmID from domain, cluster and item.

pmID_domain, pmID_cluster and pmID_item return the respective fields from pmid.

Releases

5 releases since Debian 10 (Buster); the text changed 2 times.

  1. 10
  2. 11–13
  3. Arch

From pcp 7.2.2-2 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.