proced-tree

proced-tree is a compiled Lisp function in `proced.el'.

(proced-tree PROCESS-ALIST)

Rearrange PROCESS-ALIST as process tree.
If `proced-tree-flag' is non-nil, rearrange PROCESS-ALIST such that
every processes is followed by its child processes. Each process
gets a tree attribute that specifies the depth of the process in the tree.
A root process is a process with no parent within PROCESS-ALIST according
to its value of the ppid attribute. It has depth 0.

If `proced-tree-flag' is nil, remove the tree attribute.
Return the rearranged process list.