WebSphere Issues

16/07/2012

Generate JVM thread and heap dump manually using wsadmin (Jacl) commands

Filed under: Java, WebSphere Application Server — Tags: , , — Ishtiaque @ 8:02 am
  • Run /<profile_root>/wsadmin command to connect to the server profile
  • set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
  • $AdminControl invoke $jvm dumpThreads
  • $AdminControl invoke $jvm generateHeapDump

The thread dump (javacore.txt) and heap dump (heapdump.phd) files would be created in /<profile_root> directory.

Sources:

Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

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

Blog at WordPress.com.

%d bloggers like this: