pstree [Command]

, , Leave a comment


Command pstree

Displays all running processes in a tree.

Syntax

pstree [options] [process_id]

Options

-a displays the command line arguments.
-c does not compress the subtrees.
-l displays a long line.
-n sorts the processes by their identifiers (and not by name).
-p displays the process IDs.

Description

Pstree command displays all the processes in the form of a tree – so it’s easier to see the relationship precedence processes.

 

Leave a Reply