Automated heap dump generation
- Click Servers > Application servers in the administrative console navigation tree.
- Click server_name >Performance and Diagnostic Advisor Configuration.
- Click the Runtime tab.
- Select the Enable automatic heap dump collection check box.
- Click OK.
Generating Heap dump Manually
set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
Where server1 is the name of application server for which we want heapdump.
For generating heap dump:
$AdminControl invoke $jvm generateHeapDump
Where server1 is the name of application server for which we want heapdump.
For generating heap dump:
$AdminControl invoke $jvm generateHeapDump
set jvm [$AdminControl completeObjectName type=JVM,process=server1,*]
Where server1 is the name of application server for which we want heapdump.
For generating Thread dump:
Where server1 is the name of application server for which we want heapdump.
For generating Thread dump:
$AdminControl invoke $jvm dumpThreads
Automatically
OR
use kill -3 PID on unix/linux machines.
Automatically
There are some conditions where a thread dump is created automatically for your Java Virtual Machine (JVM), such as when WebSphere Application Server is stopped by some means other than a normal stop server request
Thread dumps can also be triggered by issuing a signal to the WebSphere Application Server process. For example, to produce a thread dump in a UNIX environment, you can run this command:
kill -3 process_id
No comments:
Post a Comment