Question: Where Thread Dump Will Store What is the Format of Thread Dump?
Answer: Thread dump provides a snapshot of the current active live threads. It provides the stack trace of all the java threads in the JVM. It is used when the server is hung and we want to see the threads executing and take their dump. (Where Thread Dump Will Store What is the Format of Thread Dump)
There are different ways to take thread dump:
1.Command line: use the below command when you know the port number.(Company) just run the same command 3 times in 5 sec intervel of gaps.
kill -3 PID
2.WebLogic.Admin utility: javaWebLogic.Admin adminurl -username WebLogic -password WebLogic1 THRED_DUMP
Step1: login to the admin console
Step2: Click on server
Step3: Navigate to servers
Step4: Click monitor tab
Step5: Click on tread
Step6: Click on the dumpthread stack.
Location of the Thread Dump: