arthas/site/docs/doc
2023-02-09 09:03:19 +00:00
..
advanced-use.md feat(docs): add right menu and optimize (#2224) #2161 2022-07-25 16:19:40 +08:00
advice-class.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
agent.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
arthas3.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
arthas-properties.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
async.md update docs about save log 2022-09-13 15:58:26 +08:00
auth.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
base64.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
batch-support.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
cat.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
classloader.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
cls.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
commands.md add jfr command. #2262 2022-08-25 15:33:49 +08:00
contact-us.md Prettified Code! 2022-12-01 05:15:08 +00:00
dashboard.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
docker.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
download.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
dump.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
echo.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
faq.md feat(docs): add right menu and optimize (#2224) #2161 2022-07-25 16:19:40 +08:00
getstatic.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
grep.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
groovy.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
heapdump.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
help.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
history.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
http-api.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
idea-plugin.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
install-detail.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
jad.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
jfr.md add jfr command. #2262 2022-08-25 15:33:49 +08:00
jvm.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
keymap.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
logger.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
manual-install.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
mbean.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
mc.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
memory.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
monitor.md Prettified Code! 2023-02-09 09:03:19 +00:00
ognl.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
options.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
perfcounter.md when jdk version greater than 9, perfcounter command print more info (#2371) 2023-01-28 16:59:36 +08:00
profiler.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
pwd.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
quick-start.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
quit.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
README.md Update README.md (#2334) 2022-11-07 10:48:35 +08:00
redefine.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
release-notes.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
reset.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
retransform.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
save-log.md update docs about save log 2022-09-13 15:58:26 +08:00
sc.md Prettified Code! 2022-11-15 06:40:47 +00:00
session.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
sm.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
spring-boot-starter.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
stack.md Prettified Code! 2023-02-09 09:03:19 +00:00
start-arthas.md add new doc site to maven build chain. #2161 2022-07-18 12:54:20 +08:00
stop.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
sysenv.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
sysprop.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
tee.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
thread.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
trace.md Prettified Code! 2023-02-09 09:03:19 +00:00
tt.md Prettified Code! 2023-02-09 09:03:19 +00:00
tunnel.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
version.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
vmoption.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
vmtool.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00
watch.md Prettified Code! 2023-02-09 09:03:19 +00:00
web-console.md fix(docs): refactor sidebar, support aplus (#2242) 2022-08-09 18:42:39 +08:00

简介

Arthas 是一款线上监控诊断产品,通过全局视角实时查看应用 load、内存、gc、线程的状态信息并能在不修改应用代码的情况下对业务问题进行诊断包括查看方法调用的出入参、异常监测方法执行耗时类加载信息等大大提升线上问题排查效率。

背景

通常,本地开发环境无法访问生产环境。如果在生产环境中遇到问题,则无法使用 IDE 远程调试。更糟糕的是,在生产环境中调试是不可接受的,因为它会暂停所有线程,导致服务暂停。

开发人员可以尝试在测试环境或者预发环境中复现生产环境中的问题。但是,某些问题无法在不同的环境中轻松复现,甚至在重新启动后就消失了。

如果您正在考虑在代码中添加一些日志以帮助解决问题,您将必须经历以下阶段:测试、预发,然后生产。这种方法效率低下,更糟糕的是,该问题可能无法解决,因为一旦 JVM 重新启动,它可能无法复现,如上文所述。

Arthas 旨在解决这些问题。开发人员可以在线解决生产问题。无需 JVM 重启,无需代码更改。 Arthas 作为观察者永远不会暂停正在运行的线程。

Arthas阿尔萨斯能为你做什么

Arthas 是 Alibaba 开源的 Java 诊断工具,深受开发者喜爱。

当你遇到以下类似问题而束手无策时,Arthas可以帮助你解决:

  1. 这个类从哪个 jar 包加载的?为什么会报各种类相关的 Exception
  2. 我改的代码为什么没有执行到?难道是我没 commit分支搞错了
  3. 遇到问题无法在线上 debug难道只能通过加日志再重新发布吗
  4. 线上遇到某个用户的数据处理有问题,但线上同样无法 debug线下无法重现
  5. 是否有一个全局视角来查看系统的运行状况?
  6. 有什么办法可以监控到 JVM 的实时运行状态?
  7. 怎么快速定位应用的热点,生成火焰图?
  8. 怎样直接从 JVM 内查找某个类的实例?

Arthas 支持 JDK 6+,支持 Linux/Mac/Windows采用命令行交互模式同时提供丰富的 Tab 自动补全功能,进一步方便进行问题的定位和诊断。

如果您在使用 Arthas请让我们知道您的使用对我们非常重要查看

Contributors