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

getpcaps - display process capabilities

getpcaps [optional args] pid...

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:

Displays usage information and exits.
Displays output in a somewhat ugly legacy format.
Displays usage in a legacy-like format but not quite so ugly in modern default terminal fonts.
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).

Please report bugs via:

capsh(1), cap_from_text(3), cap_iab(3), cap_text_format(7), capabilities(7), captree(8), getcap(8), and setcap(8).

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

2025-03-19