Geekflare is supported by our audience. We may earn affiliate commissions from buying links on this site.
In WebSphere Last updated: September 6, 2022
Share on:
Invicti Web Application Security Scanner – the only solution that delivers automatic verification of vulnerabilities with Proof-Based Scanning™.

As a WebSphere administrator, you should be aware of taking thread dumps and tools to analyze them.

Thread dumps are often needed to diagnose the application performance issue like deadlocks, hung threads, and bottlenecks in Java threads.

Taking Thread Dumps in WebSphere

It’s recommended to take multiple thread dumps in 5-8 seconds. You can use any of the following methods to generate it.

1. Using

  • Login into WAS Server
  • Go to profile and bin folder
  • Execute file
[root@localhost bin]# ./
WASX7209I: Connected to process "dmgr" on node localhostCellManager01 using SOAP connector; The type of process is: DeploymentManager
WASX7029I: For help, enter: "$Help help"
  • Set JVM name in a variable
set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]

Note: server1 is, for example. Change this to your actual JVM name.

wsadmin>set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
wsadmin>$AdminControl invoke $jvm dumpThreads

This will generate a thread dump and will be available under the profile path.

2. Using kill

  • Find the JVM process ID using ps command
  • Execute kill -3 $PID
# kill -3 $PID

You will find the dump in the profile path.

3. Using the WebSphere Administrative Console

  • Login into DMGR Console
  • Navigate to Troubleshooting at the left side
  • Select the JVM and click on “Java core.”


Once you have the thread dump, you can use the following tools to analyze them.

Analyzing WebSphere Thread Dumps

Analyzing dumps are always challenging, and following FREE tools will help you.

IBM Thread Dump Analyzer (TDA)

Using IBM TDA, you can identify hangs, deadlocks, and bottlenecks in Java threads.

You can download IBM TDA from here. It’s just the jar file, and once downloaded, you can execute the following to start the GUI.

java -jar jca457.jar


  • Click on File >> Open Thread Dumps
  • Browse the folder and select the dump you wish to analyze

It will take a few seconds, and you are all set to do the following analysis

  • CPU usage
  • Memory segment
  • User process resources limit
  • Command-line argument
  • Environment variable
  • Shared class cache
  • Native memory
  • Thread status
  • Method

All are available under the “Analysis” menu. A quick look at thread status analysis


So go through the analysis you are looking for have fun with IBM TDA.

So now, you should be able to generate and analyze the thread dumps for application troubleshooting. There is more analyzer explained here.

  • Chandan Kumar
    As the founder of Geekflare, I’ve helped millions to excel in the digital realm. Passionate about technology, I’m on a mission to explore the world and amplify growth for professionals and businesses alike.
Thanks to our Sponsors
More great readings on WebSphere
Power Your Business
Some of the tools and services to help your business grow.
  • Invicti uses the Proof-Based Scanning™ to automatically verify the identified vulnerabilities and generate actionable results within just hours.
    Try Invicti
  • Web scraping, residential proxy, proxy manager, web unlocker, search engine crawler, and all you need to collect web data.
    Try Brightdata
  • is an all-in-one work OS to help you manage projects, tasks, work, sales, CRM, operations, workflows, and more.
    Try Monday
  • Intruder is an online vulnerability scanner that finds cyber security weaknesses in your infrastructure, to avoid costly data breaches.
    Try Intruder