- 依赖
com.taobao.arthas arthas-spring-boot-starter3.6.3 - 插件IDEA
- 启动SpringBoot
- 访问Arthas:http://127.0.0.1:8563/
- 诊断方法:
- 粘贴第五步复制的命令并执行
- 使用postman或页面访问接口后,Arthas会打印出整个过程的耗时情况
- 查看面板:dashboard
- 查看线程:thread ID
- 查看cpu占用前三的线程:thread -n 3

com.taobao.arthas arthas-spring-boot-starter3.6.3