DOKK / manpages / debian 13 / px / pxtree.1.en
PXTREE(1) General Commands Manual PXTREE(1)

pxtreedisplay running processes in a tree

pxtree [--debug] [SEARCH]

pxtree lists all running processes in a tree.

Process names are followed by their PIDs in parentheses. If multiple processes have the same names, they will be coalesced into one entry marked with (3×) in bold, where in this case is the number of duplicates.

The optional SEARCH parameter can be:

  • A PID (Process ID)
  • A process name or part of one
  • A user name

Any search hits will be highlighted in bold. All parents and children of all search hits will always be listed.

With the --debug flag, extra log messages are sometimes printed after pxtree finishes.

pxtree tries to be helpful about naming processes, and avoid printing names of various VMs.

For example, if you do java -jar foo.jar, pxtree will show this process as rather than java.

px(1), ptop(1)

pxtree lives at http://github.com/walles/px

October 2, 2023 Debian