import{_ as d,o as l,c as o,a,b as s,w as c,d as r,e,r as t}from"./app.5024572d.js";const h={},p=r(`
arthas-boot
\uFF08\u63A8\u8350\uFF09\u4E0B\u8F7Darthas-boot.jar
\uFF0C\u7136\u540E\u7528java -jar
\u7684\u65B9\u5F0F\u542F\u52A8\uFF1A
curl -O https://arthas.aliyun.com/arthas-boot.jar
java -jar arthas-boot.jar
\u6253\u5370\u5E2E\u52A9\u4FE1\u606F\uFF1A
java -jar arthas-boot.jar -h
\u5982\u679C\u4E0B\u8F7D\u901F\u5EA6\u6BD4\u8F83\u6162\uFF0C\u53EF\u4EE5\u4F7F\u7528 aliyun \u7684\u955C\u50CF\uFF1A
java -jar arthas-boot.jar --repo-mirror aliyun --use-http
as.sh
Arthas \u652F\u6301\u5728 Linux/Unix/Mac \u7B49\u5E73\u53F0\u4E0A\u4E00\u952E\u5B89\u88C5\uFF0C\u8BF7\u590D\u5236\u4EE5\u4E0B\u5185\u5BB9\uFF0C\u5E76\u7C98\u8D34\u5230\u547D\u4EE4\u884C\u4E2D\uFF0C\u6572 \u56DE\u8F66
\u6267\u884C\u5373\u53EF\uFF1A
curl -L https://arthas.aliyun.com/install.sh | sh
\u4E0A\u8FF0\u547D\u4EE4\u4F1A\u4E0B\u8F7D\u542F\u52A8\u811A\u672C\u6587\u4EF6 as.sh
\u5230\u5F53\u524D\u76EE\u5F55\uFF0C\u4F60\u53EF\u4EE5\u653E\u5728\u4EFB\u4F55\u5730\u65B9\u6216\u5C06\u5176\u52A0\u5165\u5230 $PATH
\u4E2D\u3002
\u76F4\u63A5\u5728 shell \u4E0B\u9762\u6267\u884C./as.sh
\uFF0C\u5C31\u4F1A\u8FDB\u5165\u4EA4\u4E92\u754C\u9762\u3002
\u4E5F\u53EF\u4EE5\u6267\u884C./as.sh -h
\u6765\u83B7\u53D6\u66F4\u591A\u53C2\u6570\u4FE1\u606F\u3002
\u89E3\u538B\u540E\uFF0C\u5728\u6587\u4EF6\u5939\u91CC\u6709arthas-boot.jar
\uFF0C\u76F4\u63A5\u7528java -jar
\u7684\u65B9\u5F0F\u542F\u52A8\uFF1A
java -jar arthas-boot.jar
\u6253\u5370\u5E2E\u52A9\u4FE1\u606F\uFF1A
java -jar arthas-boot.jar -h
\u5728 releases \u9875\u9762\u4E0B\u8F7D rpm/deb \u5305\uFF1A https://github.com/alibaba/arthas/releases
sudo dpkg -i arthas*.deb
sudo rpm -i arthas*.rpm
\u5728\u5B89\u88C5\u540E\uFF0C\u53EF\u4EE5\u76F4\u63A5\u6267\u884C\uFF1A
as.sh
\u5728 Linux/Unix/Mac \u5E73\u53F0
\u5220\u9664\u4E0B\u9762\u6587\u4EF6\uFF1A
rm -rf ~/.arthas/
rm -rf ~/logs/arthas
Windows \u5E73\u53F0\u76F4\u63A5\u5220\u9664 user home \u4E0B\u9762\u7684.arthas
\u548Clogs/arthas
\u76EE\u5F55