mirror of https://github.com/alibaba/arthas.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
6 lines
9.7 KiB
JavaScript
6 lines
9.7 KiB
JavaScript
import{_ as d,o as l,c,a as e,b as s,w as t,d as i,e as a,r as o}from"./app.5024572d.js";const _={},u=i(`<h2 id="\u7528\u6237\u95EE\u9898" tabindex="-1"><a class="header-anchor" href="#\u7528\u6237\u95EE\u9898" aria-hidden="true">#</a> \u7528\u6237\u95EE\u9898 \uFF1A</h2><p>arthas \u4ECB\u7ECD\u4E00\u4E0B</p><hr><h2 id="\u4E13\u5BB6\u5B98\u65B9\u89E3\u7B54" tabindex="-1"><a class="header-anchor" href="#\u4E13\u5BB6\u5B98\u65B9\u89E3\u7B54" aria-hidden="true">#</a> \u4E13\u5BB6\u5B98\u65B9\u89E3\u7B54 \uFF1A</h2><p>Arthas \u662F\u7531\u963F\u91CC\u5DF4\u5DF4\u5F00\u6E90\u7684\u4E00\u6B3E\u5F3A\u5927\u7684Java\u8BCA\u65AD\u5DE5\u5177\uFF0C\u5B83\u80FD\u591F\u5E2E\u52A9\u5F00\u53D1\u8005\u5728\u4E0D\u4FEE\u6539\u4EE3\u7801\u3001\u4E0D\u91CD\u542F\u670D\u52A1\u7684\u60C5\u51B5\u4E0B\uFF0C\u5BF9\u7EBF\u4E0A\u95EE\u9898\u8FDB\u884C\u5FEB\u901F\u8BCA\u65AD\u548C\u5B9A\u4F4D\u3002Arthas\u7684\u529F\u80FD\u8986\u76D6\u4E86\u7C7B\u52A0\u8F7D\u4FE1\u606F\u67E5\u8BE2\u3001\u4EE3\u7801\u70ED\u66F4\u65B0\u3001\u65B9\u6CD5\u8C03\u7528\u8FFD\u8E2A\u3001\u6027\u80FD\u74F6\u9888\u76D1\u63A7\u3001JVM\u5B9E\u65F6\u72B6\u6001\u76D1\u63A7\u7B49\u591A\u79CD\u573A\u666F\uFF0C\u6781\u5927\u5730\u63D0\u9AD8\u4E86\u95EE\u9898\u6392\u67E5\u7684\u6548\u7387\u3002</p><h3 id="arthas\u80FD\u505A\u4EC0\u4E48" tabindex="-1"><a class="header-anchor" href="#arthas\u80FD\u505A\u4EC0\u4E48" aria-hidden="true">#</a> Arthas\u80FD\u505A\u4EC0\u4E48\uFF1F</h3><ul><li><strong>\u7C7B\u52A0\u8F7D\u95EE\u9898\u5B9A\u4F4D</strong>\uFF1A\u544A\u8BC9\u4F60\u7C7B\u4ECE\u54EA\u4E2Ajar\u5305\u52A0\u8F7D\uFF0C\u4EE5\u53CA\u7C7B\u52A0\u8F7D\u5F02\u5E38\u7684\u539F\u56E0\u3002</li><li><strong>\u4EE3\u7801\u53D8\u66F4\u9A8C\u8BC1</strong>\uFF1A\u65E0\u9700\u91CD\u542F\u5E94\u7528\u5373\u53EF\u9A8C\u8BC1\u4EE3\u7801\u53D8\u66F4\u662F\u5426\u751F\u6548\u3002</li><li><strong>\u7EBF\u4E0A\u95EE\u9898\u8C03\u8BD5</strong>\uFF1A\u63D0\u4F9B\u7C7B\u6BD4debug\u7684\u4F53\u9A8C\uFF0C\u65E0\u9700\u6DFB\u52A0\u65E5\u5FD7\u91CD\u65B0\u90E8\u7F72\u3002</li><li><strong>\u7528\u6237\u95EE\u9898\u590D\u73B0</strong>\uFF1A\u5373\u4F7F\u7EBF\u4E0B\u73AF\u5883\u96BE\u4EE5\u590D\u73B0\uFF0C\u4E5F\u80FD\u5728\u7EBF\u4E0A\u76F4\u63A5\u8BCA\u65AD\u7279\u5B9A\u7528\u6237\u7684\u95EE\u9898\u3002</li><li><strong>\u7CFB\u7EDF\u5168\u5C40\u89C6\u56FE</strong>\uFF1A\u63D0\u4F9B\u7CFB\u7EDF\u8FD0\u884C\u65F6\u7684\u5168\u5C40\u4FE1\u606F\u6982\u89C8\u3002</li><li><strong>JVM\u72B6\u6001\u76D1\u63A7</strong>\uFF1A\u5B9E\u65F6\u67E5\u770BJVM\u7684\u5185\u5B58\u3001\u7EBF\u7A0B\u7B49\u5173\u952E\u6307\u6807\u3002</li><li><strong>\u6027\u80FD\u70ED\u70B9\u5206\u6790</strong>\uFF1A\u5FEB\u901F\u5B9A\u4F4D\u5E76\u751F\u6210\u70ED\u70B9\u65B9\u6CD5\u7684\u706B\u7130\u56FE\u3002</li><li><strong>\u5B9E\u4F8B\u5BF9\u8C61\u641C\u7D22</strong>\uFF1A\u5728JVM\u4E2D\u76F4\u63A5\u67E5\u627E\u6307\u5B9A\u7C7B\u7684\u5B9E\u4F8B\u5BF9\u8C61\u3002</li></ul><h3 id="\u5982\u4F55\u5FEB\u901F\u542F\u52A8arthas" tabindex="-1"><a class="header-anchor" href="#\u5982\u4F55\u5FEB\u901F\u542F\u52A8arthas" aria-hidden="true">#</a> \u5982\u4F55\u5FEB\u901F\u542F\u52A8Arthas\uFF1F</h3><h4 id="\u65B9\u6CD51-\u4F7F\u7528arthas-boot\u5B89\u88C5-\u63A8\u8350" tabindex="-1"><a class="header-anchor" href="#\u65B9\u6CD51-\u4F7F\u7528arthas-boot\u5B89\u88C5-\u63A8\u8350" aria-hidden="true">#</a> \u65B9\u6CD51\uFF1A\u4F7F\u7528arthas-boot\u5B89\u88C5\uFF08\u63A8\u8350\uFF09</h4><ol><li><strong>\u4E0B\u8F7Darthas-boot.jar</strong><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">curl</span> <span class="token parameter variable">-O</span> https://arthas.aliyun.com/arthas-boot.jar
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div></li><li><strong>\u9009\u62E9\u76EE\u6807Java\u8FDB\u7A0B\u5E76\u6302\u8F7DArthas</strong><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">java</span> <span class="token parameter variable">-jar</span> arthas-boot.jar
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div>\u5728\u663E\u793A\u7684\u8FDB\u7A0B\u5217\u8868\u4E2D\u9009\u62E9\u9700\u8981\u8BCA\u65AD\u7684\u8FDB\u7A0B\u7F16\u53F7\uFF0C\u5982\u9009\u62E9\u793A\u4F8B\u4E2D\u7684<code>math-game.jar</code>\u3002</li></ol><h4 id="\u65B9\u6CD52-\u4E0B\u8F7Darthas\u5E76\u624B\u52A8\u542F\u52A8" tabindex="-1"><a class="header-anchor" href="#\u65B9\u6CD52-\u4E0B\u8F7Darthas\u5E76\u624B\u52A8\u542F\u52A8" aria-hidden="true">#</a> \u65B9\u6CD52\uFF1A\u4E0B\u8F7Darthas\u5E76\u624B\u52A8\u542F\u52A8</h4>`,11),p=a("\u8BBF\u95EE"),b={href:"https://github.com/alibaba/arthas/releases",target:"_blank",rel:"noopener noreferrer"},g=a("Arthas GitHub Release\u9875\u9762"),v=a("\u6216"),f={href:"https://arthas.aliyun.com/download/arthas-packaging/latest_version?mirror=aliyun",target:"_blank",rel:"noopener noreferrer"},m=a("Maven\u4ED3\u5E93"),x=a("\u4E0B\u8F7D\u5BF9\u5E94\u7248\u672C\u7684arthas\u3002"),k=i(`<li>\u901A\u8FC7\u547D\u4EE4\u884C\u8FDB\u5165arthas\u6240\u5728\u76EE\u5F55\u5E76\u542F\u52A8\u5B83\uFF0C\u4F8B\u5982\uFF1A<div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">java</span> <span class="token parameter variable">-jar</span> arthas.jar <span class="token operator"><</span>\u76EE\u6807Java\u8FDB\u7A0BPID<span class="token operator">></span>
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div></li>`,1),A=i(`<h3 id="\u6210\u529F\u5B89\u88C5\u9A8C\u8BC1" tabindex="-1"><a class="header-anchor" href="#\u6210\u529F\u5B89\u88C5\u9A8C\u8BC1" aria-hidden="true">#</a> \u6210\u529F\u5B89\u88C5\u9A8C\u8BC1</h3><p>\u6210\u529F\u542F\u52A8Arthas\u540E\uFF0C\u4F60\u4F1A\u770B\u5230\u5305\u542B\u7248\u672C\u4FE1\u606F\u3001PID\u4EE5\u53CA\u4E00\u4E2A\u7B80\u5355\u7684\u547D\u4EE4\u884C\u754C\u9762\u3002\u6B64\u65F6\uFF0C\u4F60\u53EF\u4EE5\u5F00\u59CB\u4F7F\u7528Arthas\u63D0\u4F9B\u7684\u5404\u79CD\u547D\u4EE4\u8FDB\u884C\u8BCA\u65AD\uFF0C\u5982\u8F93\u5165<code>dashboard</code>\u67E5\u770B\u5B9E\u65F6\u6570\u636E\u9762\u677F\u3002</p><h3 id="arthas-tunnel-server\u90E8\u7F72-\u53EF\u9009" tabindex="-1"><a class="header-anchor" href="#arthas-tunnel-server\u90E8\u7F72-\u53EF\u9009" aria-hidden="true">#</a> Arthas Tunnel Server\u90E8\u7F72\uFF08\u53EF\u9009\uFF09</h3><p>\u5BF9\u4E8E\u9700\u8981\u8FDC\u7A0B\u8BCA\u65AD\u7684\u573A\u666F\uFF0C\u53EF\u4EE5\u90E8\u7F72Arthas Tunnel Server\uFF1A</p><ol><li><strong>\u4E0B\u8F7Darthas-tunnel-server.jar</strong>\uFF0C\u4ECEGitHub Releases\u6216Maven\u4ED3\u5E93\u83B7\u53D6\u3002</li><li><strong>\u542F\u52A8Tunnel Server</strong><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">java</span> <span class="token parameter variable">-jar</span> arthas-tunnel-server.jar
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div></li><li><strong>\u901A\u8FC7Web\u754C\u9762\u8FDE\u63A5\u5230Arthas Agent</strong>\uFF0C\u8BBF\u95EE<code>http://127.0.0.1:8080/</code>\uFF0C\u4F7F\u7528arthas\u96A7\u9053ID\u8FDE\u63A5\u5230\u8FDC\u7A0B\u673A\u5668\u4E0A\u7684Arthas\u4EE3\u7406\u3002</li></ol><p>\u901A\u8FC7\u4E0A\u8FF0\u6B65\u9AA4\uFF0C\u4F60\u53EF\u4EE5\u5145\u5206\u5229\u7528Arthas\u7684\u5F3A\u5927\u529F\u80FD\u6765\u63D0\u5347Java\u5E94\u7528\u7684\u8BCA\u65AD\u6548\u7387\u3002</p>`,6),j=a("---------------"),J=e("h2",{id:"\u53C2\u8003\u94FE\u63A5",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u53C2\u8003\u94FE\u63A5","aria-hidden":"true"},"#"),a(" \u53C2\u8003\u94FE\u63A5 \uFF1A")],-1),V=a("Arthas Tunnel"),y=a("\u4E13\u5BB6\u7ECF\u9A8C\uFF1AArthas \u5FEB\u901F\u542F\u52A8"),I=a("---------------"),F={id:"\u7B54\u7591\u670D\u52A1\u8BF4\u660E",tabindex:"-1"},M=e("a",{class:"header-anchor",href:"#\u7B54\u7591\u670D\u52A1\u8BF4\u660E","aria-hidden":"true"},"#",-1),O=a(),T=a("\u7B54\u7591\u670D\u52A1\u8BF4\u660E\uFF1A"),w=a("\u672C\u5185\u5BB9\u7ECF\u7531\u6280\u672F\u4E13\u5BB6\u5BA1\u9605\u7684\u7528\u6237\u95EE\u7B54\u7684\u955C\u50CF\u751F\u6210\uFF0C\u6211\u4EEC\u63D0\u4F9B\u4E86"),B=a("\u4E13\u5BB6\u667A\u80FD\u7B54\u7591\u670D\u52A1"),D=a("\uFF0C\u5728"),E=a("\u9875\u9762\u7684\u53F3\u4E0B\u7684\u6D6E\u7A97\u201D\u4E13\u5BB6\u7B54\u7591\u201C"),G=a("\u3002\u60A8\u4E5F\u53EF\u4EE5\u8BBF\u95EE : "),L={href:"https://answer.opensource.alibaba.com/docs/intro",target:"_blank",rel:"noopener noreferrer"},N=a("\u5168\u5C40\u4E13\u5BB6\u7B54\u7591"),P=a(" \u3002 \u54A8\u8BE2\u5176\u4ED6\u4EA7\u54C1\u7684\u7684\u95EE\u9898"),R=e("h3",{id:"\u53CD\u9988",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#\u53CD\u9988","aria-hidden":"true"},"#"),a(" \u53CD\u9988")],-1),S=a("\u5982\u95EE\u7B54\u6709\u9519\u6F0F\uFF0C\u6B22\u8FCE\u70B9\uFF1A"),H={href:"https://ai.nacos.io/user/feedbackByEnhancerGradePOJOID?enhancerGradePOJOId=16041",target:"_blank",rel:"noopener noreferrer"},q=a("\u5DEE\u8BC4"),C=a("\u7ED9\u6211\u4EEC\u53CD\u9988\u3002");function Q(W,z){const n=o("ExternalLinkIcon"),r=o("font"),h=o("RouterLink");return l(),c("div",null,[u,e("ul",null,[e("li",null,[p,e("a",b,[g,s(n)]),v,e("a",f,[m,s(n)]),x]),k]),A,s(r,{color:"#949494"},{default:t(()=>[j]),_:1}),J,e("p",null,[s(h,{to:"/doc/tunnel.html"},{default:t(()=>[V]),_:1})]),e("p",null,[s(h,{to:"/doc/expert/user-question-history11440.html"},{default:t(()=>[y]),_:1})]),s(r,{color:"#949494"},{default:t(()=>[I]),_:1}),e("h2",F,[M,O,s(r,{color:"#FF0000"},{default:t(()=>[T]),_:1})]),e("p",null,[w,s(r,{color:"#FF0000"},{default:t(()=>[B]),_:1}),D,s(r,{color:"#FF0000"},{default:t(()=>[E]),_:1}),G,e("a",L,[N,s(n)]),P]),R,e("p",null,[S,e("a",H,[q,s(n)]),C])])}const U=d(_,[["render",Q],["__file","user-question-history11442.html.vue"]]);export{U as default};
|