This is extending series of Heap Analysis for WebLogic Server instance. Here is a demonstration of jmap, jhat command utilities usage for collecting heap dump.
jmap --help
Screen shot of jmap help output
 |
jmap command utility help |
The jmap live dump
sample jmap live dump
 |
jmap live dump for WebLogic server instance |
The jmap command with -histo option
jmap -histo PID
Example execution
 |
jmap with histo option for a WebLogic server instance |
The jhat command utility for analyzing heap dump
jhat -J-mx1024m demoadmin.bin
This command will launches the web server which will have only the heapdump binary file in readable format.
Interestingly you could see the outcome on your browser.
 |
The jhat command for analysis of Heap dump |
Now the server is listening at 7000 port which is default port which you can also change using -port and value as new port number.
 |
The output of jhat command output on Browser |
Note here all the above jmap, jhat, jps commands are executed on JDK1.8 version which don't have perm space.
No comments:
Post a Comment