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

607 B
Raw Blame History

在新的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-bootArthas的启动程序,它启动后,会列出所有的Java进程,用户可以选择需要诊断的目标进程。

选择第一个进程,输入 1{{execute T2}} ,再Enter/回车

Attach成功之后,会打印Arthas LOGO。输入 help{{execute T2}} 可以获取到更多的帮助信息。

Arthas Boot