新接手个项目运行起来非常卡怎么办

2021-03-19  本文已影响0人  程序员大春

你需要一个好工具 性能分析arthas

curl -L https://arthas.aliyun.com/install.sh | sh
sh as.sh

先来看看CPU使用率top n线程的栈

thread -n 3

在看看有木有死锁线程

thread -b

监控面板

dashboard
image.png

官方文档

https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn

上一篇 下一篇

猜你喜欢

热点阅读