How can I identify the top-level thread of a Java process?

Nathan Meyers

Because each thread has a separate PID that shows up in ps and top output, it's difficult to figure out which is the top-level process. Two possible ways to do it are:

    ps -fax

and

    pstree -lp

Both display tree-structured representations of the process list, making it easy to identify the top-level process.

0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact