OS Manuals

/usr/bin/pstree.x11

set of some small useful utilities that use the proc filesystem

From psmisc 23.7-r7 (os), captured 2026-11-05 by running pstree.x11 --help (exit 1). permalink

/usr/bin/pstree.x11: unrecognized option '--help'
Usage: pstree [-acglpsStTuZ] [ -h | -H PID ] [ -n | -N type ]
              [ -A | -G | -U ] [ PID | USER ]
   or: pstree -V

Display a tree of processes.

  -a, --arguments     show command line arguments
  -A, --ascii         use ASCII line drawing characters
  -c, --compact-not   don't compact identical subtrees
  -C, --color=TYPE    color process by attribute
                      (age)
  -g, --show-pgids    show process group ids; implies -c
  -G, --vt100         use VT100 line drawing characters
  -h, --highlight-all highlight current process and its ancestors
  -H PID, --highlight-pid=PID
                      highlight this process and its ancestors
  -l, --long          don't truncate long lines
  -n, --numeric-sort  sort output by PID
  -N TYPE, --ns-sort=TYPE
                      sort output by this namespace type
                              (cgroup, ipc, mnt, net, pid, time, user, uts)
  -p, --show-pids     show PIDs; implies -c
  -s, --show-parents  show parents of the selected process
  -S, --ns-changes    show namespace transitions
  -t, --thread-names  show full thread names
  -T, --hide-threads  hide threads, show only processes
  -u, --uid-changes   show uid transitions
  -U, --unicode       use UTF-8 (Unicode) line drawing characters
  -V, --version       display version information
  -Z, --security-context
                      show security attributes

  PID    start at this PID; default is 1 (init)
  USER   show only trees rooted at processes of this user
Options (19)
OptionDescriptionSource
-a, --argumentsshow command line argumentshelp
-A, --asciiuse ASCII line drawing charactershelp
-c, --compact-notdon't compact identical subtreeshelp
-C, --color TYPEcolor process by attribute (age)help
-g, --show-pgidsshow process group ids;help
-G, --vt100use VT100 line drawing charactershelp
-H, --highlight-pid PIDhighlight this process and its ancestorshelp
-l, --longdon't truncate long lineshelp
-n, --numeric-sortsort output by PIDhelp
-N, --ns-sort TYPEsort output by this namespace type (cgroup, ipc, mnt, net, pid, time, user, uts)help
-p, --show-pidsshow PIDs;help
-s, --show-parentsshow parents of the selected processhelp
-S, --ns-changesshow namespace transitionshelp
-t, --thread-namesshow full thread nameshelp
-T, --hide-threadshide threads, show only processeshelp
-u, --uid-changesshow uid transitionshelp
-U, --unicodeuse UTF-8 (Unicode) line drawing charactershelp
-V, --versiondisplay version informationhelp
-Z, --security-contextshow security attributeshelp

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.