LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 09-18-2008, 11:43 PM   #1
msbinu
LQ Newbie
 
Registered: Sep 2008
Posts: 2

Rep: Reputation: 0
Can i find all threads by a process?


Can any one pls help me in finding out all threads spawned by a process.

Thanks in advance
Binu
 
Old 09-19-2008, 01:32 AM   #2
bigrigdriver
LQ Addict
 
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,794

Rep: Reputation: 312Reputation: 312Reputation: 312Reputation: 312
The ps command should do it.

ps -axjf will show you the process tree.

See the ps man pages for more information.
 
  


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
How to increase number of threads per process? Vaish Linux - Distributions 8 02-25-2010 02:21 AM
what happens to threads if i kill the process ? psh2001 Programming 4 08-12-2007 12:21 AM
"Find all threads started by user" not showing all threads Nylex LQ Suggestions & Feedback 3 12-28-2005 09:28 PM
How to View Threads per Process Shashi Linux - Software 0 08-01-2003 02:37 AM
Threads And Process Penguinizer Programming 1 02-18-2003 10:39 PM


All times are GMT -5. The time now is 08:17 PM.

Main Menu
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