Download on Arthas official website: https://arthas.aliyun.com/doc/download.html
If github cannot be opened, you can directly enter the address to download: https://alibaba.github.io/arthas/arthas-boot.jar to
download arthas -boot.jar, then upload it to the linux server, there should be a springboot.jar project uploaded in advance in your linux server, start this project first, and then start arthas-boot.jar to monitor.
Here I will use the official demo directly for demonstration.
Upload this compressed package to the linux arthas directory for decompression and
decompression
unzip arthas-packaging-3.5.0-bin.zip
Start method one
Start a demo project first, otherwise an error will be reported
java -jar arthas-demo.jar
Restart arthas-boot.jar
java -jar arthas-boot.jar
Start method two
Select java process PID at runtime
jsp
View java process pid
java -jar arthas-boot,jar [PID]
Finally, you can use exit to exit the arthas client