root@platform-green-5d77977ffc-nw8dm:/# curl -O https://arthas.aliyun.com/arthas-boot.jar % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 138k 100 138k 0 0 367k 0 --:--:-- --:--:-- --:--:-- 367k
root@platform-green-5d77977ffc-nw8dm:/# java -jar arthas-boot.jar [INFO] JAVA_HOME: /usr/local/openjdk-11 [INFO] arthas-boot version: 3.7.2 [INFO] Found existing java process, please choose one and input the serial number of the process, eg : 1. Then hit ENTER. * [1]: 1 platform-0.5.6-SNAPSHOT.jar 1 [INFO] Start download arthas from remote server: https://arthas.aliyun.com/download/3.7.2?mirror=aliyun [INFO] Download arthas success. [INFO] arthas home: /root/.arthas/lib/3.7.2/arthas [INFO] Try to attach process 1 Picked up JAVA_TOOL_OPTIONS: [INFO] Attach process 1 success. [INFO] arthas-client connect 127.0.0.1 3658 ,---. ,------. ,--------.,--. ,--. ,---. ,---. / O \ | .--. ''--. .--'| '--' | / O \ ' .-' | .-. || '--'.' | | | .--. || .-. |`. `-. | | | || |\ \ | | | | | || | | |.-' | `--' `--'`--' '--' `--' `--' `--'`--' `--'`-----'
wiki https://arthas.aliyun.com/doc tutorials https://arthas.aliyun.com/doc/arthas-tutorials.html version 3.7.2 main_class pid 1 time 2024-09-05 11:31:56