pstree - display a tree of processes.
Display processes in a tree like format:
pstree
Display processes in a tree like format including command line arguments:
pstree -a
Expand identical subtrees in output:
pstree -c
Display a specific process highlighted:
pstree -H [PID]
Display process with their group IDs:
pstree -g
Display processes sorted by PID:
pstree -n
Display process tree of a specific user:
pstree james
Display process tree of a specific process:
pstree -s [PID]