https://robberphex.com/attach-arthas-on-jre/
默认的arthas运行依赖jdk,jre也可以,需要按照jattach
wget -c https://github.com/alibaba/arthas/releases/download/arthas-all-3.6.8/arthas-bin.zip
mv arthas-bin.zip /opt/arthas
cd /opt/arthas
unzip arthas-bin.zip
apk add jattach
jattach 6 load instrument false /opt/arthas/arthas-agent.jar
netstat -alnp|grep 3658
java -jar /opt/arthas/arthas-client.jar 127.0.0.1 3658
dashboard