LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Can i find all threads by a process? (https://www.linuxquestions.org/questions/linux-newbie-8/can-i-find-all-threads-by-a-process-670944/)

msbinu 09-18-2008 10:43 PM

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

bigrigdriver 09-19-2008 12:32 AM

The ps command should do it.

ps -axjf will show you the process tree.

See the ps man pages for more information.


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