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

文档地址: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

详情看文档操作

你可能感兴趣的:(BTrace,housemd,greys)