手记

利用greys排查java问题

greys是非常有用的java线上问题排查工具,网上信息比较多,不再详述了,相关网页:

https://github.com/oldmanpushcart/greys-anatomy/wiki/greys-pdf

https://github.com/oldmanpushcart/greys-anatomy

https://blog.csdn.net/zhangxian1991/article/details/82219368

https://www.jianshu.com/p/3918bc22f585

对于线上机器,已经统一安装了greys脚本,登录线上机器后在admin账号下直接键入greys命令就行。

参考示例,观察Controller调用链路的执行时间:

> trace com.xxxx.acpb.api.controller.callrecord.CallRecordController getCallRecordInfoList

按 ctrl + D 退出





1人推荐
随时随地看视频
慕课网APP