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

# pmPrintDesc(3)

print a metric descriptor

## NAME

**pmPrintDesc** - print a metric descriptor

## C SYNOPSIS

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

**void pmPrintDesc(FILE \****f***, const pmDesc \****desc***);**

**cc ... -lpcp**

## DESCRIPTION

Display all the fields of the Performance Metrics Descriptor *desc* on the output stream *f*.

## SEE ALSO

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