首页 > 编程语言 > 详细

Greys--JAVA在线问题诊断工具

时间:2015-09-11 12:56:57      阅读:290      评论:0      收藏:0      [点我收藏+]
文档地址:https://github.com/oldmanpushcart/greys-anatomy/wiki


curl -sLk http://ompc.oss.aliyuncs.com/greys/install.sh|sh
jps
拿到进程id后
sudo -u admin ./greys.sh 140509


//这个是监控调用耗时数量什么的

monitor -c 5 *MobileDAO queryByAccount

//这个常用来监控入参和返回,非常常用的

watch -f *MobileDAO* queryByAccount clazz.name+"|"+method.name+"|"+params+"|"+returnObj -x 1

watch -f * Mobile DAO* queryByAccount returnObj -x 2


开启json序列化

options json-format true

详情看文档操作

Greys--JAVA在线问题诊断工具

原文:http://my.oschina.net/glarystar/blog/504799

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