How To: Java Stack Trace in Linux 방법 : 자바 스택 추적을 리눅스에서
A simple tip for newbies - how to get Java stack trace, the invaluable tool to debug java programs, in Linux: 다름에 대한 간단한 팁 - 자바를 스택 추적을하는 방법은 헤아릴 수 디버깅 도구를 사용하여 자바 프로그램을 리눅스에서 :
- Type the Ctrl key followed by \, in short Ctrl \ . - ctrl 키를 입력하고 다음에 \, 요컨대 ctrl \합니다.
I just used it to debug a persistent problem where a server process which automatically fetches data from a third-party site was inexplicably hanging. 단지 그것을 디버깅하는 지속적인 문제가 어디에 사용하는 서버의 데이터를 취득 과정을 제 3 - 당 사이트를 자동으로 설명할 수 없는 크리스마스 장식합니다.
All of us who used Ctrl-Break on windows for a stack trace, like myself will find this non-intuitive. ctrl - 휴식 시간에 우리들의 모든 창구를 이용 스택 추적이 아닌 - 직관적인처럼 자신을 발견할 것이다. It took me some time and googling to figure this out, so I decided to (document) blog it once and for all. 인터넷 검색 시간이 좀 걸렸습니다 그리고이 문제를 해결 해, 그래서 결정을 (문서) 블로그가 한 번하고 모든합니다.
Filed under 밑에 Headline News 헤드 라인 뉴스 , How To 하는 방법을 , Java Software 자바 소프트웨어 , Linux 리눅스 , Linux Migration 리눅스 마이 그 레이션 , Open Source Software 오픈 소스 소프트웨어 , Programming 프로그래밍 , Tech Note 기술 참고 사항 | |
| |
RSS 2.0 rss 2.0 | |
Trackback 트랙백 this Article | 이 문서 |
Email this Article 전자 우편이 문서
You may also like to read 같은를 읽을 수있습니다 |





February 24th, 2008 at 3:50 am 2008년 2월 24일에서 오전 3시 50분
hi there, 안녕하세요,
I use jps and jstack utilities in the JDK (java 1.5 and above from sun) to do the above trick. jstack 유틸리티를 사용하고 jps jdk (자바 1.5 이상부터 일요일)을 위의 트릭을합니다.
If the java process is a daemon then, the jstack technique will work whereas you won’t be able to do the CTRL + \ trick. 자바 프로세스는 데몬 경우에는 그 다음 반면 jstack 기술은 작동 방법을하실 수없습니다 ctrl + \ 트릭을합니다.
just my 2 cents. 그냥 내의 2 개 센트.
BR, 브롬,
~A ~ a
February 24th, 2008 at 4:35 am 2008년 2월 24일에서 오전 4시 35분
Thanks for sharing. 공유를 주셔서 감사합니다.
Take care, 돌보다,
Angsuman angsuman