컴퓨터활용/자바

javacore 파일 찾기

멜번초이 2012. 2. 25. 17:50
java 어플리케이션에서 코어덤프가 발생되면 javacore 파일이 생성된다. 이 파일을 분석하여 무슨 이유로 프로그램이 죽었는 지 유추해 볼 수 있다.

#:[/user01/app]find . -name '*javacore*'

./QIS/Repository/hudson/jobs/ERP.nightly/workspace/javacore.20120203.041517.8389010.0003.txt
./QIS/Repository/hudson/jobs/ERP.nightly/workspace/javacore.20120203.041527.8389010.0006.txt
./QIS/Repository/hudson/jobs/ERP.nightly/workspace/javacore.20120203.041537.8389010.0009.txt
./QIS/Repository/hudson/jobs/ERP.nightly/workspace/javacore.20120203.165823.16318758.0003.txt
./QIS/Repository/hudson/jobs/ERP.nightly/workspace/javacore.20120203.165833.16318758.0006.txt
./QIS/Repository/hudson/jobs/ERP.nightly/workspace/javacore.20120203.165843.16318758.0009.txt
./QIS/tomcat6/bin/javacore.20110719.155713.20447494.0001.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.123655.21758298.0003.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.123658.21758298.0006.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.123702.21758298.0009.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.123704.21758298.0012.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.195834.5701962.0003.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.195837.5701962.0006.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.195840.5701962.0009.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.195843.5701962.0012.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.200421.19399016.0003.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.200425.19399016.0006.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.200429.19399016.0009.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120131.200431.19399016.0012.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120206.134439.20185152.0003.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120206.134445.20185152.0006.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120206.134515.20185152.0010.txt
./amigo/agent1.1.3/adaptor/bin/javacore.20120206.134515.20185152.0011.txt
./javacore.20111229.084506.27197444.0005.txt
./javacore.20111229.084506.27197444.0006.txt
./javacore.20111229.084542.27197444.0011.txt
./javacore.20111229.084542.27197444.0012.txt


WAS 와 같은 어플리케이션을  실행시킨 디렉토리 위치에 javacore 파일이 생성되기 때문에 여러 곳에 생기게 된다.