Hierarchic list of processes
shell | rafacas | (0)
You probably use the ps command a lot, but sometimes there is too much info, and somewhat disordered. It can be easily ordered with the forest option, as the following example shows:
$ ps -e -o pid,args --forest
PID COMMAND
2 [kthreadd]
3 \_ [migration/0]
4 \_ [ksoftirqd/0]
5 \_ [watchdog/0]
[...]
1 /sbin/init
2742 /sbin/udevd --daemon
[...]
6307 /usr/sbin/gdm
6310 \_ /usr/sbin/gdm
6313 \_ /usr/bin/X :0 -br -audit 0 -auth /var/lib/gdm/:0.Xauth -nolisten tcp vt7
6514 ...