How to take Thread dump using Jstack.
Solution:
1. find the process Id's using below command.
jps
example:
soaosb]-->jps
19234 Server
17786 Server
11653 TMMain
18087 NodeManager
23300 Jps
18414 Server
18886 Server
2. take thread dump using below command
$JAVA_HOME/bin/jstack -l 19234 > osb1.tdump