Show processes as a tree
low risk
Visualises parent/child relationships. See the flags and examples below, and run `man pstree` for the full reference.
| Flag | Meaning |
|---|---|
-p | Show PIDs |
-a | Show arguments |
pstree -apTree with PIDs and arguments · explain & risk-check →Reference text is hand-written and may be incomplete — check man pstree for your version. Test destructive commands on a non-production system first.