pstree: Associating Child Processes

1 · Benjamin Cane · Aug. 13, 2011, 8:30 p.m.
Sometimes tracking down which process spawned a child process can be an arduous task, especially when you've reached more than 5 parent processes. To alleviate some of that headache Unix/Linux has a command called pstree which will show processes in a tree format. Example: [root@bcane ~]# pstree initNetworkManagerdhclient [{NetworkManager}] [VBoxClient{VBoxClient}] VBoxService6*[{VBoxService}] abrtd anacron atd auditdaudispdsedispatch {audispd} {auditd} This is awesome if you are trying to find...