Process Tree in Linux
I mostly use `ps -eaf` to get all programs running on Linux Box in my organization. Accidently i entered `ps -ea f` on console and was getting ready to retype but to my surprise i got a process tree which
was much better than normal `ps -eaf`.
Here is a small sample
1988 ? Ss 0:00 /usr/sbin/sshd
3736 ? Ss 0:00 \_ sshd: tomcat [priv]
3738 ? S 0:00 \_ sshd: tomcat@pts/1
3739 pts/1 Ss 0:00 \_ -bash
3781 pts/1 Sl 0:01 \_ /usr/java/jdk1.5.0_12//bin/java -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -
3817 pts/1 R+ 0:00 \_ ps -ea f

Leave a Reply