Step 1/1: The process tree

Every process is started by another. pstree draws these parent–child links as a tree; -p shows ids, and a PID limits it to that branch.

$ pstree -p 1001
Fundamentalspstree
A process family tree
Use pstree to show the process tree starting at process 1, with the id of every process.
pgrepNext lesson:kill