Thanks for your support very much!
I just confirmed the script and found it worked on My IS9.6 on Cent OS6.2.
I am asking the customer if that works with IS6.5 on HP-UX.
If there are any question regarding this issue, please sincerely let me ask.
p.s.
The following file name is only typo for “nohup.out”?
if [ -f nohup.akt ]
Are you interested in thread dumps or heap dumps? Your post says thread dump but the lines you pasted are for heap dumps.
If you’re interested in changing where the heap dump gets generated when setting the JVM option -XX:+HeapDumpOnOutOfMemoryError, then use the option -XX:HeapDumpPath.
please note that these “-XX”-options are not standardized and can have silghtly different behaviours on different OS/Java-Versions (if they exist at all).
A thread dump is not an alternative to a heap dump. They are two completely different things.
As Percio-san said, I understand heap dump is different from thread dump.
The customer still want to know the way to store Heapdump file of IS6.5 in large directory.
If you know the Integration Server standard way (not HP-UX specific) to obtain
Heapdump file in any directory, please sincerely tell.
As the url above, “jmap” command seems to be one of the way to obtain the heapdump file.
-Till java 1.5, it seems to be UNABLE to specify the directory to save the heapdump file.
-From java 1.6 it seems to be ABLE to specify the the directory to save the heapdump file.