Created
October 1, 2015 02:11
Revisions
-
Rohit Kelapure created this gist
Oct 1, 2015 .There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,9 @@ For all versions of WebSphere ( that do not override dump agents) kill -6 <WebSphere Process id> should produce a core file and leave the server running kill -11 <WebSphere Process id> should produce a core file and halt the process PID=` ps -ef | grep java | grep -v "bash\|grep" | awk '{print $2}'` ./jmap -dump:format=b,file=/home/vcap/app/test.hprof $PID For WebSphere Application Server 7.0 and following, wsadmin scripting may be used to request System Core files by finding the process and issuing the command : See the Knowledge Center for more information: wsadmin script to request core file A jython example for server1 would be: