Move pages under tldr, lint run.sh, update docs

This commit is contained in:
2024-02-21 13:58:43 +02:00
parent 3d653cc7e6
commit 2c475fa62d
4806 changed files with 36 additions and 35 deletions

25
tldr/jhsdb Normal file
View File

@@ -0,0 +1,25 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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}}`