getpcaps(8)

getpcaps8

Display process capabilities

Usage

getpcaps [optional args] pid ...

Overview

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

Optional arguments:

--help or --usage

Displays usage information and exits.

--ugly or --legacy

Displays output in a somewhat ugly legacy format.

--verbose

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

--iab

Displays IAB tuple capabilities from the process. The output format here is also described in 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).

Releases

6 releases since Debian 3.0 (Woody); the text changed 3 times.

  1. 3.0–3.1
  2. 11
  3. 12–13
  4. Arch

--help since Debian 11 (Bullseye); --iab since Debian 12 (Bookworm); --legacy since Debian 11 (Bullseye); --ugly since Debian 11 (Bullseye); --usage since Debian 11 (Bullseye); --verbose since Debian 11 (Bullseye).

Reporting bugs

Please report bugs via:

https://bugzilla.kernel.org/buglist.cgi?component=libcap&list_id=1090757

Author

This manual page was originally written by Robert Bihlmeyer <[email protected]>, for the Debian GNU/Linux system (but may be used by others).

From libcap 2.78-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.