pstree

pstree is a Linux command that shows the running processes as a tree[1][2][3].

It is used as a more visual alternative to the ps command.

The root of the tree is either init or the process with the given pid.

In BSD systems, a similar output is created using ps -d, in Linux ps axjf[4] produces similar output.

This Unix-related article is a stub.

pstree output in FreeBSD