BlueXIII's Blog

热爱技术,持续学习

0%

Arthas学习笔记

参考文档

安装

1
2
3
4
5
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar

curl -L https://arthas.aliyun.com/install.sh | sh
./as.sh

常用操作

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
watch com.sdecloud.efpx.quality.biz.controller.QualityRuleTemplateController list '{params[0],returnObj.toString()}'

stack com.sdecloud.efpx.quality.biz.controller.QualityRuleTemplateController list

tt -t com.sdecloud.efpx.quality.biz.controller.QualityRuleTemplateController list

watch com.sdecloud.efpx.quality.biz.component.CleanComponent cleanCheckLog

ognl '@com.sdecloud.efpx.quality.biz.component.CleanComponent@cleanCheckLog'
ognl '@com.sdecloud.efpx.quality.biz.service.QualityCheckLogServiceDb@info(1,1,"test")'
ognl '@com.sdecloud.efpx.quality.biz.service.QualityTaskBatchService@clean("2021-8-1")' -X 1

sc -d com.sdecloud.efpx.quality.biz.service.QualityTaskBatchService
sm -d com.sdecloud.efpx.quality.biz.service.QualityTaskBatchService$$EnhancerBySpringCGLIB$$52b99956
watch com.sdecloud.efpx.quality.biz.service.QualityTaskBatchService clean