mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-09-17 14:57:18 +03:00
jhsdb: add page (#6643)
This commit is contained in:
parent
0b5aa33736
commit
c4e73acbcd
20
pages/common/jhsdb.md
Normal file
20
pages/common/jhsdb.md
Normal file
@ -0,0 +1,20 @@
|
||||
# jhsdb
|
||||
|
||||
> Attach to a Java process or launch a postmortem debugger to analyze the core dump from a crashed Java Virtual Machine.
|
||||
> More information: <https://manned.org/jhsdb>.
|
||||
|
||||
- Print stack and locks information of a Java process:
|
||||
|
||||
`jhsdb jstack --pid {{pid}}`
|
||||
|
||||
- Open a core dump in interactive debug mode:
|
||||
|
||||
`jhsdb clhsdb --core {{path/to/core_dump}} --exe {{path/to/jdk/bin/java}}`
|
||||
|
||||
- Start a remote debug server:
|
||||
|
||||
`jhsdb debugd --pid {{pid}} --serverid {{optional_unique_id}}`
|
||||
|
||||
- Connect to a process in interactive debug mode:
|
||||
|
||||
`jhsdb clhsdb --pid {{pid}}`
|
Loading…
Reference in New Issue
Block a user