mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 14:22:07 +02:00
16 lines
359 B
Markdown
16 lines
359 B
Markdown
# jstack
|
|
|
|
> Java stack trace tool.
|
|
> More information: <https://manned.org/jstack>.
|
|
|
|
- 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}}`
|