tldr/pages/common/jstack.md

16 lines
310 B
Markdown
Raw Normal View History

# jstack
> Java Stack Trace Tool.
- Print java stack traces for all threads in a java process:
`jstack {{java_pid}}`
- Print mixed mode (java/c++) stack traces for all threads in a java process:
2016-02-16 23:36:36 +03:00
`jstack -m {{java_pid}}`
- Print stack traces from java core dump:
`jstack {{/usr/bin/java}} {{file.core}}`