mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-09 16:46:30 +00:00
Update cheatsheets
This commit is contained in:
21
jstack
Normal file
21
jstack
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, common]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# 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}}`
|
||||
Reference in New Issue
Block a user