mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-18 22:59:20 +00:00
update doc
This commit is contained in:
1 parent
c544052e7e
commit
72d0a1e74c
10 files changed
+14
-22
No files matched your search
@@ -6,12 +6,11 @@ options
|
||||
| 名称 | 默认值 | 描述 |
|
||||
| ------------------ | ----- | ---------------------------------------- |
|
||||
| unsafe | false | 是否支持对系统级别的类进行增强,打开该开关可能导致把JVM搞挂,请慎重选择! |
|
||||
| dump | false | 是否支持被增强了的类dump到外部文件中,如果打开开关,class文件会被dump到`/${application dir}/arthas-class-dump/`目录下,具体位置详见控制台输出 |
|
||||
| dump | false | 是否支持被增强了的类dump到外部文件中,如果打开开关,class文件会被dump到`/${application working dir}/arthas-class-dump/`目录下,具体位置详见控制台输出 |
|
||||
| batch-re-transform | true | 是否支持批量对匹配到的类执行retransform操作 |
|
||||
| json-format | false | 是否支持json化的输出 |
|
||||
| disable-sub-class | false | 是否禁用子类匹配,默认在匹配目标类的时候会默认匹配到其子类,如果想精确匹配,可以关闭此开关 |
|
||||
| support-default-method | true | 是否支持匹配到default method,默认会查找interface,匹配里面的default method。参考 [#1105](https://github.com/alibaba/arthas/issues/1105) |
|
||||
| debug-for-asm | false | 打印ASM相关的调试信息 |
|
||||
| save-result | false | 是否打开执行结果存日志功能,打开之后所有命令的运行结果都将保存到`~/logs/arthas-cache/result.log`中 |
|
||||
| job-timeout | 1d | 异步后台任务的默认超时时间,超过这个时间,任务自动停止;比如设置 1d, 2h, 3m, 25s,分别代表天、小时、分、秒 |
|
||||
| print-parent-fields | true | 是否打印在parent class里的filed |
|
||||
@@ -40,9 +39,6 @@ $ options
|
||||
ean -class include sub class ass when matching class.
|
||||
when class matchin
|
||||
g
|
||||
1 bool debug-for-a false Option to print DE This option enables to print DEBUG me
|
||||
ean sm BUG message if ASM ssage of ASM for each method invocati
|
||||
is involved on.
|
||||
1 bool save-result false Option to print co This option enables to save each comm
|
||||
ean mmand's result to and's result to log file, which path
|
||||
log file is ${user.home}/logs/arthas-cache/res
|
||||
|
||||
@@ -32,6 +32,8 @@ arthas.tunnel-server=ws://47.75.156.201:7777/ws
|
||||
|
||||
### 查看Endpoint信息
|
||||
|
||||
> 需要配置spring boot暴露endpoint:[参考](https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-features.html#production-ready-endpoints)
|
||||
|
||||
假定endpoint端口是 8080,则通过下面url可以查看:
|
||||
|
||||
http://localhost:8080/actuator/arthas
|
||||
|
||||
Reference in new issue
Block a user