Lists all processes unde the form of a tree
Lists the structure in ASCII form (otherwise it’ll probably get listed in a nasty form)
pstree -A
By default the processes are listed in a compact form (i.e.: no threads). To disable this add -c
pstree -Ac
To display PID you need to add -p (also removes compaction)
pstree -Ap
To show command line arguments add -a
pstree -Aa
Numeric sort
pstree -An