Listing process in hierarchy
In normal ps command we have to look manually on PID and PPID number to know the relation between processes. In hierarchial format, child processes are shown under the parent process which makes it easy for us to look upon.
Look at the above snapshot, pstree display output in hierarchial format.
Other method to list in hierarchial format is by using axjfcommand.
Look at the above snapshot, it display output in hierarchy format.