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.
Hi All,
Any command exist like kill -3 Pid for thread dump similarly for heap dump any command is there? Rest of the methods through wsadmin, and console level
iam aware of it.
kalyan.
Hi,
I hope you read this article. Informative..,
http://www-01.ibm.com/support/docview.wss?uid=swg21597830
Hi Kalyan You can configured your dumps (java, heap, system) with -XDump option MustGather: Using the -Xdump Option http://www-01.ibm.com/support/docview.wss?uid=swg21242497#Dump_Types_And_Triggering
Using dump agents http://www.ibm.com/support/knowledgecenter/SSYKE2_7.1.0/com.ibm.java.lnx.71.doc/diag/tools/dump_agents.html
Servers > Application Servers > serverName > Java and Process Management > Process Definition > Java Virtual Machine Generic JVM arguments field: -Xdump:java+heap+system:events=user with "events=user", when you do "kill -3 PID" your selected dump types will generated. or you can configure your server to generate dumps automatically with Application servers > SERVER_NAME > Process definition > Environment Entries IBM_HEAPDUMP true IBM_HEAPDUMPDIR /tmp IBM_HEAPDUMP_OUTOFMEMORY true IBM_JAVACOREDIR /tmp IBM_JAVADUMP_OUTOFMEMORY true JAVA_DUMP_OPTS ONANYSIGNAL(JAVADUMP[5],HEAPDUMP[5]) Thanks to Brian Paskin and Petr Hostalek for their clear explanation at How to automatically enable heap dump in WAS ND 7 https://www.ibm.com/developerworks/community/forums/html/topic?id=46e5b60e-18ac-49d8-b1f0-439169a83013 Hope this helps. Tell us if you need more support Regards
Team,
Could you please hlep me on application url / JVM monitoring shell script
like https://hostname:9080/appliction
https://hostname:9081/appliction
Hi AMAR,
Different question, open a new thread please.
Thanks in advanced.
Regards