Arthas手册
# 启动arthas
在命令行下面执行(使用和目标进程一致的用户启动,否则可能attach失败):
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
1
2
2
# arthas开启json格式
options json-format true
1
# 查看类是否存在
sc -d com.xxl.job.core.executor.XxlJobExecutor
1
# Ognl查看容器数据
ognl -x 2 '@com.xxl.job.core.executor.XxlJobExecutor@jobHandlerRepository'
ognl -x 3 '@com.xxl.job.core.executor.XxlJobExecutor@jobHandlerRepository.values().toArray()'
ognl -x 3 '@com.xxl.job.core.executor.XxlJobExecutor@jobHandlerRepository.entrySet().toArray()'
1
2
3
4
5
6
2
3
4
5
6
# 反编译类
jad
1
上次更新: 2024/04/13, 14:32:49