Arthas Idea Help Tools,Help generated Arthas Common Command Arthas Idea Plugin Document
Arthas helps developers in trouble-shooting issues in production environment for Java based applications without modifying code or restarting servers.
English:
- Based on the Arthas command generation plugin developed by IntelliJ IDEA, it supports Alibaba Arthas official commonly used commands.
- The official commands are too complicated. In order to simplify the difficulty of users, this plugin provides support for some common commands.
- The plugin supports Alibaba Arthas commands such as watch、trace、ognl static、ognl bean method、field、monitor、stack 、tt etc.
- watch: Display the input/output parameter, return object, and thrown exception of specified method invocation
- trace: Trace the execution time of specified method invocation.
- ognl:Execute ognl expression.
- monitor:Monitor method execution statistics, e.g. total/success/failure count, average rt, fail rate, etc.
- stack:Display the stack trace for the specified class and method
- tt:Time Tunnel
- support get all spring property command、get selected spring property
- logger:Print logger info, and update the logger level
- Async Profiler. https://github.com/jvm-profiling-tools/async-profiler
中文:
- 基于IntelliJ IDEA开发的Alibaba Arthas 命令生成插件,支持Alibaba Arthas 官方常用的命令。
- 官方的命令太复杂,此插件为了简化使用者的难度,提供了一些常用命令的支持
- 该插件支持Alibaba Arthas 常用命令,比如 watch、trace、ognl static、ognl bean method、field、monitor、stack 、tt等命令
- 支持设置static field、static final
- watch:能方便的观察到指定方法的调用情况,返回值、抛出异常、入参(特殊值、异常没有捕获排查)
- trace:方法内部调用路径,并输出方法路径上的每个节点上耗时(性能问题,调用链问题)
- ognl:执行表达式(方便获取静态变量,方法,获取spring context 为所欲为)
- monitor:方法执行监控(性能问题排查,一段时间内的性能指标)
- stack:获取方法从哪里执行的调用栈(用途:源码学习调用堆栈,了解调用流程)
- tt:方法执行数据的时空隧道,记录下指定方法每次调用的入参和返回信息,并能对这些不同的时间下调用进行观测(可以重新触发,周期触发,唯一缺点对于ThreadLocal 信息丢失[隐含参数]、引用对象数据变更无效)
- 支持获取选择中的spring 环境变量的值获取,获取spring 上下文所有的环境变量按照优先级打印出来,方便排查环境问题
- logger:动态更新日志等级
- Async Profiler. https://github.com/jvm-profiling-tools/async-profiler 火焰图命令支持