• Post Reply Bookmark Topic Watch Topic
  • New Topic

Thread dump  RSS feed

 
R Sawant
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.
 
Henry Wong
author
Sheriff
Posts: 23295
125
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!