mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-27 19:03:34 +03:00
16 lines
310 B
Markdown
16 lines
310 B
Markdown
# 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:
|
|
|
|
`jstack -m {{java_pid}}`
|
|
|
|
- Print stack traces from java core dump:
|
|
|
|
`jstack {{/usr/bin/java}} {{file.core}}`
|