Files
arthas/tutorials/katacoda/command-sysprop-cn/arthas-boot.md
T
Hollow ManandGitHub ed921432b3 Arthas sysprop 命令教程 (#1331)
* add sysprop command scenario. #847

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* fix links

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>

* switch to use arthas-demo

Signed-off-by: hollowman6 <hollowman186@vip.qq.com>
2020-07-23 15:48:32 +08:00

17 lines
607 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
在新的`Terminal 2`里,下载`arthas-boot.jar`,再用`java -jar`命令启动:
`wget https://alibaba.github.io/arthas/arthas-boot.jar
java -jar arthas-boot.jar --target-ip 0.0.0.0`{{execute T2}}
`arthas-boot``Arthas`的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。
选择第一个进程,输入 `1`{{execute T2}} ,再`Enter/回车`
Attach成功之后,会打印Arthas LOGO。输入 `help`{{execute T2}} 可以获取到更多的帮助信息。
![Arthas Boot](/arthas/scenarios/common-resources/assets/arthas-boot.png)