Skip to content

Instantly share code, notes, and snippets.

@sifue
Created June 25, 2012 07:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sifue/2987202 to your computer and use it in GitHub Desktop.
Save sifue/2987202 to your computer and use it in GitHub Desktop.
CUIサーバー上のスレッドダンプ、ヒープダンプの取得 ref: http://qiita.com/items/e1aa603e99ee926cb269
$ $JAVA_HOME\bin\jps
5486 Jps
14691 jar
$ $JAVA_HOME\bin\jinfo -sysprops 14691
$ $JAVA_HOME\bin\jstack 14691 > threaddump.tdump
$ $JAVA_HOME\bin\jmap -dump:format=b,file=heap.hprof 14691
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment