0% found this document useful (0 votes)
4 views8 pages

Generating Java Thread Dump

The document provides instructions for generating a Java thread dump using three methods: through the Java NWA interface, using the jsmon command from the OS level, and via the SAP MMC tool. Each method includes steps for logging in, selecting the appropriate server, and retrieving the thread dump files. The generated thread dumps can be found in specified directories for further analysis.

Uploaded by

sandeepfromooty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views8 pages

Generating Java Thread Dump

The document provides instructions for generating a Java thread dump using three methods: through the Java NWA interface, using the jsmon command from the OS level, and via the SAP MMC tool. Each method includes steps for logging in, selecting the appropriate server, and retrieving the thread dump files. The generated thread dumps can be found in specified directories for further analysis.

Uploaded by

sandeepfromooty
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 8

Generating Java thread dump

1. Using NWA:

Login to Java NWA.

http://kfsapxwp01.mykft.net/nwa

Navigate to Troubleshooting  Advanced Troubleshooting

Click on “Thread Dump Analysis”

Click on “Generate Thread Dump”


An additional window opens up where you can select the specific server and its server node.

Click “OK” and the thread dump would be generated which can be seen in the list.

The thread dump can then be downloaded for analysis.


2. Java Thread Dump generation using jsmon.

Incase your NWA is inaccessible due to some reason, you can trigger a thread dump using jsmon
from OS level.

Login to the specific server as ‘sidadm’ and execute jsmon.

Run process view and get a list of the process id for the corresponding server node.

Imagine if you need thread dump for server 0 , specify the id ‘Idx’ for the same to get a thread dump
for the same.
The thread dump would be written to the below files.

/usr/sap/SID/<Instance>/work/std_server<node>.out

/usr/sap/SID/<Instance>/work/dev_server<node>
3. Java Thread dump generation using SAP MMC:

Login to SAP MMC using port “5<Instance no>13”

For example for XWP server kfsapxwp03, the url used should be.

http://kfsapxwp03.mykft.net:50013 ( Use Internet explorer)

After a while, the MMC tool opens up.


Now drop down the server for which you need the thread dump as shown below.

Click on “Process table”


Right click on whichever server node for which thread dump is required for and click on ‘Dump
Trace’

The thread dump would be written to the below files.

/usr/sap/SID/<Instance>/work/std_server<node>.out

/usr/sap/SID/<Instance>/work/dev_server<node>

You might also like