LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices



Reply
 
Search this Thread
Old 11-17-2010, 05:40 AM   #1
charithmax
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Rep: Reputation: 0
Find all child processes


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 currently a weblogic application server is running on that.

please somebody give me a hand to solve this out.


Thanks in advanced.
Max
 
Old 11-17-2010, 05:47 AM   #2
colucix
Moderator
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957Reputation: 1957
You can see a process tree using either ps -ejH or ps fax.
 
Old 11-17-2010, 06:28 AM   #3
charithmax
LQ Newbie
 
Registered: Nov 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Thanks friend. it really helped me. Thanks 4 the quick response.

Thanks,
Max
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Find number of child processes (C, POSIX) polymath Programming 2 05-28-2010 06:25 AM
[SOLVED] monitoring child processes caverdave Programming 5 12-10-2009 05:22 PM
su processes child of pid 1? acid_kewpie Linux - Software 5 07-29-2009 02:22 PM
forking 7 child processes ianomc Programming 5 11-07-2004 01:33 PM
Rotatelogs - Do I have too many child processes? fireman949 Linux - Software 2 06-08-2004 03:04 PM


All times are GMT -5. The time now is 09:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration