To trigger a java thread dump
- Call jcmon "/usr/sap/<SID>/<Instance>/j2ee/os_libs/jcmon pf=<path to profile file>"
- Choose Local Administration Menue by entering 20
- Choose "Dump stacktrace" by entering 10
- Select the Java node for which trhead dump should be triggered (see column idx and enter the corresponding number)
- Confirm with y
You can also triger the stack trace using kill -3 <PID of jlaunch process>
Analyzing thread dumps
You can download the thread dump viewer from SAP SMP.
The tdv works for 640 and above and reads thread dumps for SAP/Sun(Oracle)/HP/IBM JVMs for AIX/Linux.
For 640/700 double-click on the jar file and open the thread dumps. For 710, open the thread dump viewer with the following command:
java -jar tdv.jar -version 710