WebSphere Application Server & Liberty

WebSphere Application Server & Liberty

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Thread dump, core dump, heap dump, system core

    Posted 10/09/15 03:42 AM

    Hi Everyone
    Got confused with the following terminology :
    Thread dump, core dump, heap dump, system core
    Could you please explain, and what are the commands to take dumps?



  • 2.  Thread dump, core dump, heap dump, system core

    Posted 11/09/15 09:51 AM
        Run this command:
                wsadmin> $AdminControl invoke $jvm dumpThreads

        If you want to force heap dump, run the following command:
                wsadmin> $AdminControl invoke $jvm generateHeapDump

    check above commands and revert for further help


  • 3.  Thread dump, core dump, heap dump, system core

    Posted 11/09/15 03:22 PM

    you can use wsadmin Jython commands for heap dump

    -AdminControl.invoke(AdminControl.completeObjectName("type=JVM, process=,*"), "generateHeapDump")

    also

    kill -3 JVM_PID is used for javacore fies .