Archive for Tháng Hai, 2013

How to dump java process

Go to your console or terminal app (terminal.app on Mac, cmd on Windows, command line console on Linux) and type in jps. Then you get a list of java processes and their IDs. If you are not running another java process, you should be able to figure out which one is for the your java process. Then type “jstack ” followed by the process ID and hit enter. That produces a dump of all the threads that are running in that Java process. That output would be quite useful to figure out why your java process is not run as expected.

Advertisements

Tháng Hai 4, 2013 at 11:34 sáng Bạn nghĩ gì về bài viết này?


Tháng Hai 2013
H B T N S B C
« Th6    
 123
45678910
11121314151617
18192021222324
25262728  

Bài viết mới

RSS Jason Rudolph (GRails)

  • Lỗi: có thể dòng không tin đang không hoạt động. Hãy thử lại sau.