getpcaps(8) — Linux manual page


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

NAME         top

       getpcaps - display process capabilities

SYNOPSIS         top

       getpcaps [optional args] pid...

DESCRIPTION         top

       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 capabilities are displayed in the cap_from_text(3) format.

       Optional arguments:

       --help or --usage
              Displays usage information and exits.

       --ugly or --legacy
              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.

       --iab  Displays IAB tuple capabilities from the process. The
              output format here is the text format described in
              cap_iab(3). Double quotes encase the regular process
              capabilities and square brackets encase the IAB tuple.
              This format is also used by captree(8).

REPORTING BUGS         top

       Please report bugs via:

SEE ALSO         top

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

AUTHOR         top

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

COLOPHON         top

       This page is part of the libcap (capabilities commands and
       library) project.  Information about the project can be found at
       ⟨⟩.  If you
       have a bug report for this manual page, send it to (please put "libcap" in the Subject line).
       This page was obtained from the project's upstream Git repository
       ⟨⟩ on
       2024-06-14.  (At that time, the date of the most recent commit
       that was found in the repository was 2024-05-18.)  If you
       discover any rendering problems in this HTML version of the page,
       or you believe there is a better or more up-to-date source for
       the page, or you have corrections or improvements to the
       information in this COLOPHON (which is not part of the original
       manual page), send a mail to

                               2020-08-29                    GETPCAPS(8)

Pages that refer to this page: capsh(1)libcap(3)capabilities(7)getcap(8)setcap(8)