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.
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.
![Arthas ](https://arthas.aliyun.com/doc/_images/arthas.png )
`Arthas` {{}} 是 Alibaba 开源的 Java 诊断工具,深受开发者喜爱。在线排查问题,无需重启;动态跟踪 Java 代码;实时监控 JVM 状态。
`Arthas` {{}} 支持 JDK 6+,支持 Linux/Mac/Windows, 采用命令行交互模式, 同时提供丰富的 `Tab` {{}} 自动补全功能,进一步方便进行问题的定位和诊断。
当你遇到以下类似问题而束手无策时, Arthas 可以帮助你解决:
- 这个类从哪个 jar 包加载的?为什么会报各种类相关的 Exception?
- 我改的代码为什么没有执行到?难道是我没 commit? 分支搞错了?
- 遇到问题无法在线上 debug, 难道只能通过加日志再重新发布吗?
- 线上遇到某个用户的数据处理有问题,但线上同样无法 debug, 线下无法重现!
- 是否有一个全局视角来查看系统的运行状况?
- 有什么办法可以监控到 JVM 的实时运行状态?
- 怎么快速定位应用的热点,生成火焰图?
本教程会以一个普通的 Spring Boot 应用为例,演示 mc-retransform 命令。
- Github: https://github.com/alibaba/arthas
- 文档: https://arthas.aliyun.com/doc/
> 注意:请等待环境配置结束后再进入下一步