Friday, 22 April 2016

What is the Thread dump and how to take it ?


When you take thread dump, JVM dumps state of all threads in log files or standard error console.


Use a tool called jstack for taking thread dump, it operate on process id. 
# jstack [PID]   
# jstack [PID] > abc.log

No comments:

Post a Comment

Note: only a member of this blog may post a comment.