Thursday, March 6

What is a Thread dump? How will you take in unix/linux and windows?


         A Java thread dump is a way of finding out what every thread in the JVM is doing at a particular point in time. This is especially useful if your Java application sometimes seems to hang when running under load, as an analysis of the dump will show where the threads are stuck.

We will take thread dump in following ways,
Ø  Linux : kill -3 PID
Ø  Windows (console mode) : crtl+break
Ø  Windows (service) : beasvc -dump -svcname:mydomain_myserver

No comments:

Post a Comment