Graphical representation of parent/child processes (pstree)

The pstree program provides a graphical representation of parent and child processes, number of threads, their states, etc.

Options provided by ‘pstree’:

crash> pstree -h
Usage: pstree [options]

Options:
  -h, --help  show this help message and exit
  -p          Print process ID
  -g          Print number of threads
  -s          Print task state
  -t TASK_ID  Print specific task and its children

 ** Execution took   1.13s (real)   1.13s (CPU)
crash>