在线安装
#下载jar包
curl -O https://arthas.aliyun.com/arthas-boot.jar
#启动会先检测虚拟机进程,如果没有启动失败(idea)
java -jar arthas-boot.jar
linux安装与window一样
卸载arthas
rm -rf ~/.arthas/
rm -rf ~/logs/arthas
常用命令:
dashboard
thread
jad xx.yy.类名
watch xx.yy.类名.方法名.returnObj
quit /stop