---
name: "pmprintlabelsets"
section: "3"
platform: "linux"
package: "libpcp3-dev"
version: "4.3.2+really4.3.1-0.1"
release: "Debian 10 (Buster)"
platforms: ["linux"]
url: "https://new.carta.tech/pmPrintLabelSets"
---

# pmprintlabelsets(3)

print an array of label sets

Part of [pmPrintLabelSets(3)](/pmPrintLabelSets/3.md).

## 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).
