Wikipedia / Pstree
Wikipedia / Pstree
pstree is a Linux command that shows the running processes as a tree. 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. It can also be installed in other Unix systems.
In FreeBSD, a similar output is created using ps -d, in Linux ps axjf produces similar output.
Examples
pstree pid
pstree username
See also
References
External links
The pstree Command by The Linux Information Project (LINFO)