You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
arthas/tutorials/katacoda/arthas-advanced-cn/exit.md

20 lines
603 B
Markdown

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

## reset
Arthas在 watch/trace 等命令时,实际上是修改了应用的字节码,插入增强的代码。显式执行 `reset`{{execute T2}} 命令,可以清除掉这些增强代码。
## 退出Arthas
`exit`{{execute interrupt}} 或者 `quit`{{execute interrupt}} 命令可以退出Arthas。
退出Arthas之后还可以再次用 `java -jar arthas-boot.jar`{{execute interrupt}} 来连接。
## 彻底退出Arthas
`exit/quit`命令只是退出当前sessionarthas server还在目标进程中运行。
想完全退出Arthas可以执行 `stop`{{execute interrupt}} 命令。