Hi,
I'm trying to get a thread dump / core dump (I think they are the same thing) on a particular Java application.
I've looked at this guide in particular -
http://java.sun.com/developer/techni...ng/Stacktrace/
In my /etc/sysctl.conf I have a line like this:
kernel.core_uses_pid = 1
I suspect I should have something in /tmp/ named core.<pid> after running 'kill -3 <pid>' or 'kill -s QUIT <pid>'. I have checked my home directories, root home directory, /tmp, and /var/tmp all with nothing that resembles what I'm looking for.
I'm running Cent OS 5.5 x86_64. The application itself is a mapreduce client on hadoop.
Can someone take me to the school of doing application core dumps? I was thinking of doing a strace on the application but usually we don't start seeing errors for a couple hours, which I suspect will make the log file huge to dig through.
Thanks in advance!