GETPCAPS(8) System Manager's Manual GETPCAPS(8)

# [NAME](#NAME)

getpcaps - display process capabilities

# [SYNOPSIS](#SYNOPSIS)

**getpcaps** \[optional args] *pid*...

# [DESCRIPTION](#DESCRIPTION)

**getpcaps** displays the capabilities on the processes indicated by the *pid* value(s) given on the command line. A *pid* of 0 displays the capabilities of the process that is running **getpcaps** itself.

The capability Set of the process is displayed in the text represenation described here: [**cap\_text\_formats**(7)](/man/os/libcap/cap_text_formats.7).

Optional arguments:

[**--help** or **--usage**](#help)

Displays usage information and exits.

[**--ugly** or **--legacy**](#ugly)

Displays output in a somewhat ugly legacy format.

[**--verbose**](#verbose)

Displays usage in a legacy-like format but not quite so ugly in modern default terminal fonts.

[**--iab**](#iab)

Displays IAB tuple capabilities from the process. The output format here is also described in [**cap\_text\_formats**(7)](/man/os/libcap/cap_text_formats.7). Double quotes encase the regular process capabilities and square brackets encase the IAB tuple. This format is also used by [**captree**(8)](/man/os/libcap/captree.8).

# [REPORTING BUGS](#REPORTING_BUGS)

Please report bugs via:

[https://bugzilla.kernel.org/buglist.cgi?component=libcap&list\_id=1090757](https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1090757)

# [SEE ALSO](#SEE_ALSO)

[**capsh**(1)](/man/os/libcap/capsh.1), [**cap\_from\_text**(3)](/man/os/libcap/cap_from_text.3), [**cap\_iab**(3)](/man/os/libcap/cap_iab.3), [**cap\_text\_format**(7)](/man/os/libcap/cap_text_format.7), [**capabilities**(7)](/man/os/libcap/capabilities.7), [**captree**(8)](/man/os/libcap/captree.8), [**getcap**(8)](/man/os/libcap/getcap.8), and [**setcap**(8)](/man/os/libcap/setcap.8).

# [AUTHOR](#AUTHOR)

This manual page was originally written by Robert Bihlmeyer &lt;robbe@debian.org&gt;, for the Debian GNU/Linux system (but may be used by others).

2025-03-19

---

Document: getpcaps(8) from libcap 2.78-r3 (Chainguard OS)
Source: https://kernel.googlesource.com/pub/scm/libs/libcap/libcap.git
