cancel
Showing results for 
Search instead for 
Did you mean: 

IBM Heap Dump command line utilities

Former Member
0 Kudos

Hello,

I am looking for command line parameter for IBM Heap dump location in configtool. I know we can set using environment variable IBM_HEAPDUMPDIR but I would like to get some command utilities to set it in configtool.

Thanks in Advance !

Accepted Solutions (1)

Accepted Solutions (1)

krumts
Advisor
Advisor
0 Kudos

Hi,

I checked the IBM diagnostic guides, but there I also couldn't find a way to change the location of the heapdump, other than setting the environment variable. So I'm afraid you can't configure it with the config tool.

regards,

krum

Answers (2)

Answers (2)

Former Member
0 Kudos
Former Member
0 Kudos

Hi, Following are the configtool jvm parameters:

-Xdump:heap:label

-Xdump:java:label

Example:

-Xdump:heap:label=/usr/sap/heapdump/heapdump.phd

-Xdump:java:label=/usr/sap/heapdump/javacore.phd

IBM no longer recommended using "IBM_HEAPDUMPDIR" and "IBM_JAVACOREDIR".

Thanks,

Haris

Former Member
0 Kudos

Hi,

The JVM checks each of the following locations for existence and write-permission, then stores the Heapdump in the first one that is available.

The location that is specified using the file suboption on the triggered -Xdump:heap agent.

The location that is specified by the IBM_HEAPDUMPDIR environment variable, if set (_CEE_DMPTARG on z/OS(R)).

The current working directory of the JVM processes.

The location that is specified by the TMPDIR environment variable, if set.

The /tmp directory. On Windows(R), C:\temp.

Details : http://publib.boulder.ibm.com/infocenter/javasdk/v1r4m2/index.jsp?topic=/com.ibm.java.doc.diagnostic...

Regards,

Sandeep