import{_ as a,o as s,c as n,d as e}from"./app.6c27e557.js";const t={},p=e(`

\u542F\u52A8 Arthas

\u4EA4\u4E92\u6A21\u5F0F\u542F\u52A8

./as.sh
\u279C  bin git:(develop) \u2717 ./as.sh
Found existing java process, please choose one and input the serial number of the process, eg: 1 . Then hit ENTER.
  [1]: 3088 org.jetbrains.idea.maven.server.RemoteMavenServer
* [2]: 12872 org.apache.catalina.startup.Bootstrap
  [3]: 2455
Attaching to 12872...
  ,---.  ,------. ,--------.,--.  ,--.  ,---.   ,---.
 /  O  \\ |  .--. ''--.  .--'|  '--'  | /  O  \\ '   .-'
|  .-.  ||  '--'.'   |  |   |  .--.  ||  .-.  |\`.  \`-.
|  | |  ||  |\\  \\    |  |   |  |  |  ||  | |  |.-'    |
\`--' \`--'\`--' '--'   \`--'   \`--'  \`--'\`--' \`--'\`-----'
$

\u975E\u4EA4\u4E92\u6A21\u5F0F\u542F\u52A8

\u542F\u52A8\u811A\u672C\u5982\u4E0B\uFF1A

./as.sh <PID>[@IP:PORT]

\u53C2\u6570\u8BF4\u660E

\u793A\u4F8B

\u8FDC\u7A0B\u8BCA\u65AD

\u670D\u52A1\u5668\u542F\u52A8 Arthas Server \u540E\uFF0C\u5176\u4ED6\u4EBA\u53EF\u4EE5\u4F7F\u7528 telnet \u8FDC\u7A0B\u8FDE\u63A5\u4E0A\u53BB\u8FDB\u7A0B\u8BCA\u65AD\uFF0C\u4F8B\u5982\uFF1A

telnet 192.168.1.119 3658

sudo \u652F\u6301

\u6210\u719F\u7684\u7EBF\u4E0A\u7BA1\u7406\u73AF\u5883\u4E00\u822C\u90FD\u4E0D\u4F1A\u76F4\u63A5\u5F00\u653E JVM \u90E8\u7F72\u7528\u6237\u6743\u9650\u7ED9\u4F60\uFF0C\u800C\u662F\u901A\u8FC7 sudo-list \u6765\u63A7\u5236\u548C\u76D1\u63A7\u7528\u6237\u7684\u8D8A\u6743\u64CD\u4F5C\u3002\u7531\u4E8E as.sh \u811A\u672C\u4E2D\u4F1A\u5BF9\u5F53\u524D\u7528\u6237\u7684\u73AF\u5883\u53D8\u91CF\u4EA7\u751F\u611F\u77E5\uFF0C\u6240\u4EE5\u9700\u8981\u52A0\u4E0A -H \u53C2\u6570

sudo -u admin -H ./as.sh 12345

Windows \u73AF\u5883\u652F\u6301

\u76EE\u524Das.bat\u811A\u672C\u53EA\u652F\u6301\u4E00\u4E2A\u53C2\u6570\uFF1Apid

as.bat <pid>
`,20),r=[p];function o(l,i){return s(),n("div",null,r)}const d=a(t,[["render",o],["__file","start-arthas.html.vue"]]);export{d as default};