1、SSH连接目标主机,找到对应容器ID
docker ps | grep eam
2、进入容器,并启用bash
docker exec -it 01c6ab243ff4 /bin/bash
3、按Arthas文档,分析服务
monitor -c 60 *Controller* * '#cost > 1000' -n 10000 trace *Controller * '#cost > 1000' -n 10000
Powered by: 博客园 Copyright © 2024 WinChance Powered by .NET 9.0 on Kubernetes