---
name: "pmPrintLabelSets"
section: "3"
platform: "linux"
package: "pcp"
version: "7.2.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/pmPrintLabelSets"
---

# pmPrintLabelSets(3)

print an array of label sets

## NAME

**pmPrintLabelSets** - print an array of label sets

## C SYNOPSIS

**#include \<pcp/pmapi.h\>**

**void pmPrintLabelSets(FILE \****f***,** **int** *ident***,** **int** *type***,** **pmLabelSet \****sets***,** **int** *nsets***);**

**cc ... -lpcp**

## DESCRIPTION

Display all elements of the Performance Metrics LabelSet *sets* associated with identifier *ident* of hierarchy level *type*. on the output stream *f*.

## SEE ALSO

[**PMAPI**(3)](/PMAPI/3.md) and [**pmLookupLabels**(3)](/pmLookupLabels/3.md).
