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.
11 lines
3.3 KiB
JavaScript
11 lines
3.3 KiB
JavaScript
import{_ as s,o as t,c as d,a,b as p,e,d as i,r as c}from"./app.5024572d.js";const r={},o=a("h1",{id:"heapdump",tabindex:"-1"},[a("a",{class:"header-anchor",href:"#heapdump","aria-hidden":"true"},"#"),e(" heapdump")],-1),u={href:"https://arthas.aliyun.com/doc/arthas-tutorials.html?language=cn&id=command-heapdump",target:"_blank",rel:"noopener noreferrer"},l=a("code",null,"heapdump",-1),h=e("\u5728\u7EBF\u6559\u7A0B"),m=i(`<div class="custom-container tip"><p class="custom-container-title">\u63D0\u793A</p><p>dump java heap, \u7C7B\u4F3C jmap \u547D\u4EE4\u7684 heap dump \u529F\u80FD\u3002</p></div><h2 id="\u4F7F\u7528\u53C2\u8003" tabindex="-1"><a class="header-anchor" href="#\u4F7F\u7528\u53C2\u8003" aria-hidden="true">#</a> \u4F7F\u7528\u53C2\u8003</h2><h3 id="dump-\u5230\u6307\u5B9A\u6587\u4EF6" tabindex="-1"><a class="header-anchor" href="#dump-\u5230\u6307\u5B9A\u6587\u4EF6" aria-hidden="true">#</a> dump \u5230\u6307\u5B9A\u6587\u4EF6</h3><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token punctuation">[</span>arthas@58205<span class="token punctuation">]</span>$ heapdump arthas-output/dump.hprof
|
|
Dumping heap to arthas-output/dump.hprof <span class="token punctuation">..</span>.
|
|
Heap dump <span class="token function">file</span> created
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><div class="custom-container tip"><p class="custom-container-title">\u63D0\u793A</p><p>\u751F\u6210\u6587\u4EF6\u5728<code>arthas-output</code>\u76EE\u5F55\uFF0C\u53EF\u4EE5\u901A\u8FC7\u6D4F\u89C8\u5668\u4E0B\u8F7D\uFF1A http://localhost:8563/arthas-output/</p></div><h3 id="\u53EA-dump-live-\u5BF9\u8C61" tabindex="-1"><a class="header-anchor" href="#\u53EA-dump-live-\u5BF9\u8C61" aria-hidden="true">#</a> \u53EA dump live \u5BF9\u8C61</h3><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token punctuation">[</span>arthas@58205<span class="token punctuation">]</span>$ heapdump <span class="token parameter variable">--live</span> /tmp/dump.hprof
|
|
Dumping heap to /tmp/dump.hprof <span class="token punctuation">..</span>.
|
|
Heap dump <span class="token function">file</span> created
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h2 id="dump-\u5230\u4E34\u65F6\u6587\u4EF6" tabindex="-1"><a class="header-anchor" href="#dump-\u5230\u4E34\u65F6\u6587\u4EF6" aria-hidden="true">#</a> dump \u5230\u4E34\u65F6\u6587\u4EF6</h2><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token punctuation">[</span>arthas@58205<span class="token punctuation">]</span>$ heapdump
|
|
Dumping heap to /var/folders/my/wy7c9w9j5732xbkcyt1mb4g40000gp/T/heapdump2019-09-03-16-385121018449645518991.hprof<span class="token punctuation">..</span>.
|
|
Heap dump <span class="token function">file</span> created
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div>`,9);function v(b,f){const n=c("ExternalLinkIcon");return t(),d("div",null,[o,a("p",null,[a("a",u,[l,h,p(n)])]),m])}const g=s(r,[["render",v],["__file","heapdump.html.vue"]]);export{g as default};
|