I need to take the thread dump of my application.Kill - 3 <PID> will give me the thread dump.However I have few queries related to that
1.How do I know which PID to take.I find out the process running with weblogic and found there are many process running.How to identify which one will give me the correct thread dump.
2.Where the thread dump gets stored.
3.is there any other way to get the thread dump.
what do you mean that there are many processes running? do you mean that there are more that one WLS instance running on the same physical box?
The java process running on the system will be associated to the wls instance running.
thread dump gets generated in the stdout file.
in unix/linux env. kill -3 <pid> is the best method to take thread dumps as it generates whole information of a running thread.
Why any else method to take thread dump??