pstree

Show processes as a tree

low risk

interactive breakdown — edit the command and press Explain
$ 
What it does

Visualises parent/child relationships. See the flags and examples below, and run `man pstree` for the full reference.

Common flags
FlagMeaning
-pShow PIDs
-aShow arguments
Examples
pstree -apTree with PIDs and arguments · explain & risk-check →
Related
ps top
Open the full explainer →More in System & Processes

Reference text is hand-written and may be incomplete — check man pstree for your version. Test destructive commands on a non-production system first.