Javatpoint Logo
Javatpoint Logo

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.

Syntax:

hierarchy1

Look at the above snapshot, pstree display output in hierarchial format.

Other method to list in hierarchial format is by using axjfcommand.

Syntax:

hierarchy2

Look at the above snapshot, it display output in hierarchy format.





Please Share

facebook twitter google plus pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA