Arthas 线上环境调试 打印方法输入输出
Arthas
curl -L https://arthas.aliyun.com/install.sh | sh
vi as.sh 设置JAVA_HOME
查看进程:
jps
启动:
./as.sh 进程号
imagewatch -b com.tianan.v2x.axtagent.web.controller.api.MessagePushController rss '"params[0]="+params[0]'
watch -b com.tianan.v2x.axtagent.web.controller.api.MessagePushController rss '"params[0]="+com.alibaba.fastjson.JSON.toJSONString(params[0])'
tt -t *UserController save
imagett -i 1151
imagesc com.e7code*.User -f -d
imagetrace 方法内部调用路径,并输出方法路径上的每个节点上耗时
trace *AppHomeServiceImpl query
image反编译 jad com.google.common.hash.HashFunction
imagett -t *AppHomeServiceImpl query
image image image image
网友评论