---
name: "getpmac"
section: "8"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/getpmac"
---

# getpmac(8)

print process-related MAC labels

## NAME

**getpmac** – print process-related MAC labels

## SYNOPSIS

**getpmac** \[**-l** *list,of,labels*\] \[**-p** *pid*\]

## DESCRIPTION

The **getpmac** utility prints the text representation of the MAC label associated with the specified process. If no process is specified, it prints the label associated with its own process.

## SEE ALSO

[mac(3)](/mac/3.md), [mac\_get\_pid(3)](/mac_get_pid/3.md), [mac\_get\_proc(3)](/mac_get_proc/3.md), [mac(4)](/mac/4.md), [maclabel(7)](/maclabel/7.md), [getfmac(8)](/getfmac/8.md), [setfmac(8)](/setfmac/8.md), [setpmac(8)](/setpmac/8.md), [mac(9)](/mac/9.md)
