2025-03-14 21:59:59 -06:00
|
|
|
# arthas
|
|
|
|
|
|
|
|
|
|
> Java diagnostic tool.
|
|
|
|
|
> See also: `arthas-watch`, `arthas-trace`.
|
|
|
|
|
> More information: <https://arthas.aliyun.com/en/>.
|
|
|
|
|
|
|
|
|
|
- Start Arthas:
|
|
|
|
|
|
|
|
|
|
`java -jar {{path/to/arthas-boot.jar}}`
|
|
|
|
|
|
|
|
|
|
- Reconnect Arthas (default port used by Arthas is 3658):
|
|
|
|
|
|
|
|
|
|
`telnet localhost {{port_number}}`
|
|
|
|
|
|
|
|
|
|
- Exit the current Arthas client without affecting other clients. equals `exit`、`logout`、`q` command:
|
|
|
|
|
|
2025-09-14 18:48:49 -06:00
|
|
|
`{{exit|quit|logout|q}}`
|
2025-03-14 21:59:59 -06:00
|
|
|
|
|
|
|
|
- Terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected:
|
|
|
|
|
|
|
|
|
|
`stop`
|