首页 > 其他 > 详细

性能压测终极武器之arthas

时间:2020-04-29 20:05:58      阅读:122      评论:0      收藏:0      [点我收藏+]

1,安装, wget https://alibaba.github.io/arthas/arthas-boot.jar
2,启动,java -jar arthas-boot.jar --target-ip 0.0.0.0
3,实时数据看版dashboard
4,打印县城pid的栈信息 thread 1 支持grep
5,查看加载的类,sc -d *MathGame
6,反编译 jad demo.MethGame
7, 查看返回值 watch com.ishansong.activity.service.UserClusterRpcService getUserClusterIdByMobileAndClusterIds getreturnObj

8,统计方法执行时间

trace com.ishansong.es.service.EsCourierService insertDoc/findByAll

 

官方文档:

https://alibaba.github.io/arthas/

性能压测终极武器之arthas

原文:https://www.cnblogs.com/FengZiQ/p/12804152.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!