How to take Thread Dump:
1. Get the process Id of the process
ps -aef | grep java
2. Get the Thread dump for all the threads within a process
jstack {pid} > dump.log
How to take Thread Dump:
1. Get the process Id of the process
ps -aef | grep java
2. Get the Thread dump for all the threads within a process
jstack {pid} > dump.log