Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread dump  RSS feed

 
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
Can anyone tell how to take a thread dump. The environment is unix and java.

Ramdas.
 
author
Sheriff
Posts: 23510
138
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Ramdas Sawant:
Hi all,
Can anyone tell how to take a thread dump. The environment is unix and java.

Ramdas.



In a unix environment, the JVM will do a thread dump, if you send a signal three to the JVM process. Just run:

kill -3 <insert pid of the jvm here>

Henry
 
Opportunity is missed by most people because it is dressed in overalls and looks like work - Edison. Tiny ad:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!