Hello Manjush!
You may try the following options:
a. 'kill -3 <PID>'. When you use this option thread dump will be printed in the standard error stream (not in your application log).
b. 'jstack -F <PID>'. When you use this option thread dump will be generated, but it will not contain all the information that will be present when use 'jstack -l <PID>' option. Thread dumps captured in this option will not contain thread state, lock Ids, ...
c. Here are 8 different options to capture thread dumps manually.
d. You can also use 14 day trial version of yCrash to capture and analyze thread dumps, GC logs, vmstat, iostat, netstat, dmesg... automatically.
Edit your Comment