$ curl cheat.sh/
# pstree
# A convenient tool to show running processes as a tree.
# More information: <https://manned.org/pstree>.

# Display a tree of processes:
pstree

# Display a tree of processes with PIDs:
pstree -p

# Display all process trees rooted at processes owned by specified user:
pstree user

$
Follow @igor_chubin cheat.sh tldr