lunedì 28 luglio 2014

Get javacore and heapdump from Websphere

Locate the profile of the IBM Websphere Application Server, change the uppercase key below with your values and run these two lines.

Javacore:

PROFILE_DIR/bin/wsadmin.sh -user USER -password PASSWORD -c "\$AdminControl invoke [\$AdminControl queryNames WebSphere:name=JVM,process=SERVERNAME,*] dumpThreads"


Heapdump:

PROFILE_DIR/bin/wsadmin.sh -user USER -password PASSWORD -c "\$AdminControl invoke [\$AdminControl queryNames WebSphere:name=JVM,process=SERVERNAME,*] generateHeapDump"


The javacore and heapdump will be created under the PROFILED_DIR.

Nessun commento:

Posta un commento