Thread Dump for Java Process

Thread dump is a essential part of debugging issues with running process apart from looking at the logs, thread dumps provide a “under the hood” view of your java process and its health.

kill -3 or kill -QUIT are usually used to take thread dumps in most UNIX environments, but there is catch for java process which was kicked off by a shell-script.

This blog post explains this in great detail and is a good read if you are stuck trying to take a thread dump on a java process started by a shell script –

Advertisements

Leave a comment

Filed under Java

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s