Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 09-18-2008, 11:43 PM   #1
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
Old 09-19-2008, 01:32 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian stable
Posts: 5,908

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

ps -axjf will show you the process tree.

See the ps man pages for more information.


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 > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:29 AM.

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