Find all child processes

view full story

http://www.linuxquestions.org – Hi All, i want to check all the child processes attached to a specific process. Say for a example; my process is a java process. then i wanna know what are the processes attached to that java process. at the moment i use the command # ps aux|grep java ; this gives the details about the currently running java process. so i can kill the whole java process using #kill -9 {pid} ...but there are sub processes attached (i guess child processes) to java process. i wanna view all of them & kill whatever the process i like.not the whole thing. i'm using Red hat 5 enterprise edition. and current (HowTos)