|
|
<!DOCTYPE html>
|
|
|
<html lang="zh-CN">
|
|
|
<head>
|
|
|
<meta charset="utf-8">
|
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
|
<meta name="generator" content="VuePress 2.0.0-beta.51">
|
|
|
<style>
|
|
|
:root {
|
|
|
--c-bg: #fff;
|
|
|
}
|
|
|
html.dark {
|
|
|
--c-bg: #22272e;
|
|
|
}
|
|
|
html, body {
|
|
|
background-color: var(--c-bg);
|
|
|
}
|
|
|
</style>
|
|
|
<script>
|
|
|
const userMode = localStorage.getItem('vuepress-color-scheme');
|
|
|
const systemDarkMode = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches;
|
|
|
if (userMode === 'dark' || (userMode !== 'light' && systemDarkMode)) {
|
|
|
document.documentElement.classList.toggle('dark', true);
|
|
|
}
|
|
|
</script>
|
|
|
<link rel="icon" href="/images/favicon.ico"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta property="og:title" content="Arthas"><meta property="og:image:alt" content="Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas - alibaba/arthas: Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas"><meta property="og:image" content="/images/arthas_mate_image.png"><meta property="og:description" content="Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas - alibaba/arthas: Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas"><meta property="og:image:width" content="1200"><meta property="og:image:height" content="600"><meta property="twitter:image:src" content="/images/arthas_mate_image.png"><meta property="twitter:image:alt" content="Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas - alibaba/arthas: Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas"><meta itemprop="name" content="Arthas"><meta itemprop="image" content="/images/arthas_mate_image.png"><meta itemprop="description" content="Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas - alibaba/arthas: Alibaba Java Diagnostic Tool Arthas/Alibaba Java诊断利器Arthas"><script>
|
|
|
var _hmt = _hmt || [];
|
|
|
(function() {
|
|
|
var hm = document.createElement("script");
|
|
|
hm.src = "https://hm.baidu.com/hm.js?d5c5e25b100f0eb51a4c35c8a86ea9b4";
|
|
|
var s = document.getElementsByTagName("script")[0];
|
|
|
s.parentNode.insertBefore(hm, s);
|
|
|
})();
|
|
|
</script><meta name="aes-config" content="pid=xux-opensource&user_type=101&uid=&username=&dim10=arthas"><script src="//g.alicdn.com/alilog/mlog/aplus_v2.js" id="beacon-aplus" exparams="clog=o&aplus&sidx=aplusSidx&ckx=aplusCkx"></script><script src="//g.alicdn.com/aes/??tracker/1.0.34/index.js,tracker-plugin-pv/2.4.5/index.js,tracker-plugin-event/1.2.5/index.js,tracker-plugin-jserror/1.0.13/index.js,tracker-plugin-api/1.1.14/index.js,tracker-plugin-perf/1.1.8/index.js,tracker-plugin-eventTiming/1.0.4/index.js"></script><title>FAQ | arthas</title><meta name="description" content="arthas 使用文档">
|
|
|
<link rel="modulepreload" href="/assets/app.1e03d722.js"><link rel="modulepreload" href="/assets/faq.html.6c1321f8.js"><link rel="modulepreload" href="/assets/faq.html.8152a298.js"><link rel="prefetch" href="/assets/index.html.f224ea50.js"><link rel="prefetch" href="/assets/index.html.53b0a385.js"><link rel="prefetch" href="/assets/index.html.b9bbcc19.js"><link rel="prefetch" href="/assets/advanced-use.html.3fcb0afe.js"><link rel="prefetch" href="/assets/advice-class.html.1890d449.js"><link rel="prefetch" href="/assets/agent.html.54d3aff2.js"><link rel="prefetch" href="/assets/arthas-properties.html.626356c8.js"><link rel="prefetch" href="/assets/arthas3.html.c7349dd1.js"><link rel="prefetch" href="/assets/async.html.5bbf801f.js"><link rel="prefetch" href="/assets/auth.html.ccc35dde.js"><link rel="prefetch" href="/assets/base64.html.fe7e16e0.js"><link rel="prefetch" href="/assets/batch-support.html.1abf8ea5.js"><link rel="prefetch" href="/assets/cat.html.3d95b314.js"><link rel="prefetch" href="/assets/classloader.html.47c87a4d.js"><link rel="prefetch" href="/assets/cls.html.7accf38a.js"><link rel="prefetch" href="/assets/commands.html.2f443e1c.js"><link rel="prefetch" href="/assets/contact-us.html.266f50aa.js"><link rel="prefetch" href="/assets/dashboard.html.ea6b4b50.js"><link rel="prefetch" href="/assets/docker.html.c035d2b8.js"><link rel="prefetch" href="/assets/download.html.2b30ad49.js"><link rel="prefetch" href="/assets/dump.html.261d613c.js"><link rel="prefetch" href="/assets/echo.html.ad06a0b4.js"><link rel="prefetch" href="/assets/getstatic.html.5ea145dc.js"><link rel="prefetch" href="/assets/grep.html.16fb88a2.js"><link rel="prefetch" href="/assets/groovy.html.b6c8a167.js"><link rel="prefetch" href="/assets/heapdump.html.64bc3647.js"><link rel="prefetch" href="/assets/help.html.401a5c50.js"><link rel="prefetch" href="/assets/history.html.71d21c44.js"><link rel="prefetch" href="/assets/http-api.html.b03c863f.js"><link rel="prefetch" href="/assets/idea-plugin.html.293987e8.js"><link rel="prefetch" href="/assets/install-detail.html.7b01f74c.js"><link rel="prefetch" href="/assets/jad.html.9673f4c8.js"><link rel="prefetch" href="/assets/jfr.html.4b8c143a.js"><link rel="prefetch" href="/assets/jvm.html.4b5abc31.js"><link rel="prefetch" href="/assets/keymap.html.3cdbd08a.js"><link rel="prefetch" href="/assets/logger.html.4ee3cdde.js"><link rel="prefetch" href="/assets/manual-install.html.2155ba94.js"><link rel="prefetch" href="/assets/mbean.html.cffe704a.js"><link rel="prefetch" href="/assets/mc.html.1aaf539f.js"><link rel="prefetch" href="/assets/memory.html.75e1b92b.js"><link rel="prefetch" href="/assets/monitor.html.b049f11d.js"><link rel="prefetch" href="/assets/ognl.html.dc24abdb.js"><link rel="prefetch" href="/assets/options.html.1782ffab.js"><link rel="prefetch" href="/assets/perfcounter.html.b60e05e2.js"><link rel="prefetch" href="/assets/profiler.html.7325f874.js"><link rel="prefetch" href="/assets/pwd.html.76bb64f2.js"><link rel="prefetch" href="/assets/quick-start.html.eb0e924f.js"><link rel="prefetch" href="/assets/quit.html.1a493ee5.js"><link rel="prefetch" href="/assets/redefine.html.8b6b0f71.js"><link rel="prefetch" href="/assets/release-notes.html.e34f5871.js"><link rel="prefetch" href="/assets/reset.html.658f1038.js"><link rel="prefetch" href="/assets/retransform.html.7ba40ee4.js"><link rel="prefetch" href="/assets/save-log.html.f1336d26.js"><link rel="prefetch" href="/assets/sc.html.d224c68c.js"><link rel="prefetch" href="/assets/session.html.eb785b35.js"><link rel="prefetch" href="/assets/sm.html.d8d935ba.js"><link rel="prefetch" href="/assets/spring-boot-starter.html.1bed9366.js"><link rel="prefetch" href="/assets/stack.html.8dd7edc1.js"><link rel="prefetch" href="/assets/start-arthas.html.8c925c60.js"><link rel="prefetch" href="/assets/stop.html.4399d226.js"><link rel="prefetch" href="/assets/sysenv.html.77702c39.js"><link rel="prefetch" href="/assets/sysprop.html.55d9ec38.js"><link rel="prefetch" href="/assets/tee.html.b28f3e4f.js"><link rel="prefetch" href="/assets/thread.html.e8e180d9.js"><link rel="prefetch" href="/assets/trace.html.64867b82.js"><link rel="prefetch" href="/assets/tt.html.77f145c7.js"><link rel="prefetch" href="/assets/tunnel.html.d9a6d7e8.js"><link rel="prefetch" href="/assets/version.html.2b359cfc.js"><link rel="prefetch" href="/assets/vmoption.html.7dc178d0.js"><link rel="prefetch" href="/assets/vmtool.html.7a70662a.js"><link rel="prefetch" href="/assets/watch.html.35c73d63.js"><link rel="prefetch" href="/assets/web-console.html.83eb20a3.js"><link rel="prefetch" href="/assets/index.html.1189c9b4.js"><link rel="prefetch" href="/assets/advanced-use.html.b2326e25.js"><link rel="prefetch" href="/assets/advice-class.html.4b935c14.js"><link rel="prefetch" href="/assets/agent.html.06cfe8b0.js"><link rel="prefetch" href="/assets/arthas-properties.html.2b51f901.js"><link rel="prefetch" href="/assets/async.html.8021827f.js"><link rel="prefetch" href="/assets/auth.html.bd9e8303.js"><link rel="prefetch" href="/assets/base64.html.430f911b.js"><link rel="prefetch" href="/assets/batch-support.html.d849fa73.js"><link rel="prefetch" href="/assets/cat.html.37637162.js"><link rel="prefetch" href="/assets/classloader.html.d3691352.js"><link rel="prefetch" href="/assets/cls.html.df87ce8c.js"><link rel="prefetch" href="/assets/commands.html.e850a780.js"><link rel="prefetch" href="/assets/contact-us.html.53eefce2.js"><link rel="prefetch" href="/assets/dashboard.html.e50aa23e.js"><link rel="prefetch" href="/assets/docker.html.aec55aad.js"><link rel="prefetch" href="/assets/download.html.a954bea2.js"><link rel="prefetch" href="/assets/dump.html.7fa7347f.js"><link rel="prefetch" href="/assets/echo.html.ef861db9.js"><link rel="prefetch" href="/assets/faq.html.8c319e44.js"><link rel="prefetch" href="/assets/getstatic.html.e9a9b9fe.js"><link rel="prefetch" href="/assets/grep.html.f4713b7d.js"><link rel="prefetch" href="/assets/groovy.html.c8071cc2.js"><link rel="prefetch" href="/assets/heapdump.html.639fb2db.js"><link rel="prefetch" href="/assets/help.html.f2a5abfe.js"><link rel="prefetch" href="/assets/history.html.ddbedbda.js"><link rel="prefetch" href="/assets/http-api.html.38a5fa8d.js"><link rel="prefetch" href="/assets/idea-plugin.html.de10cb74.js"><link rel="prefetch" href="/assets/install-detail.html.0d7aa760.js"><link rel="prefetch" href="/assets/jad.html.5bdcde04.js"><link rel="prefetch" href="/assets/jfr.html.33fd4319.js"><link rel="prefetch" href="/assets/jvm.html.8c51f3bd.js"><link rel="prefetch" href="/assets/keymap.html.38b48705.js"><link rel="prefetch" href="/assets/logger.html.c643e4e8.js"><link rel="prefetch" href="/assets/manual-install.html.2c660694.js"><link rel="prefetch" href="/assets/mbean.html.0207cc61.js"><link rel="prefetch" href="/assets/mc.html.ceb4e58d.js"><link rel="prefetch" href="/assets/memory.html.0e831bed.js"><link rel="prefetch" href="/assets/monitor.html.a36eca4b.js"><link rel="prefetch" href="/assets/ognl.html.a6285a92.js"><link rel="prefetch" href="/assets/options.html.645a2cb5.js"><link rel="prefetch" href="/assets/perfcounter.html.2eb29bcf.js"><link rel="prefetch" href="/assets/profiler.html.0d3c7d75.js"><link rel="prefetch" href="/assets/pwd.html.353a73ce.js"><link rel="prefetch" href="/assets/quick-start.html.382075e8.js"><link rel="prefetch" href="/assets/quit.html.1dc3e968.js"><link rel="prefetch" href="/assets/redefine.html.5f6eafef.js"><link rel="prefetch" href="/assets/release-notes.html.d0f1d594.js"><link rel="prefetch" href="/assets/reset.html.5a0fb301.js"><link rel="prefetch" href="/assets/retransform.html.a21bf652.js"><link rel="prefetch" href="/assets/save-log.html.301f3ff1.js"><link rel="prefetch" href="/assets/sc.html.fc441957.js"><link rel="prefetch" href="/assets/session.html.7dd3d06c.js"><link rel="prefetch" href="/assets/sm.html.c618c134.js"><link rel="prefetch" href="/assets/spring-boot-starter.html.6b149dbf.js"><link rel="prefetch" href="/assets/stack.html.9ce03ea1.js"><link rel="prefetch" href="/assets/start-arthas.html.0ad01ebc.js"><link rel="prefetch" href="/assets/stop.html.39a884ae.js"><link rel="prefetch" href="/assets/sysenv.html.bbeaa053.js"><link rel="prefetch" href="/assets/sysprop.html.42d23614.js"><link rel="prefetch" href="/assets/tee.html.336757ab.js"><link rel="prefetch" href="/assets/thread.html.e8849674.js"><link rel="prefetch" href="/assets/trace.html.02166965.js"><link rel="prefetch" href="/assets/tt.html.74db7836.js"><link rel="prefetch" href="/assets/tunnel.html.f584f8e1.js"><link rel="prefetch" href="/assets/version.html.65df3c88.js"><link rel="prefetch" href="/assets/vmoption.html.4339d265.js"><link rel="prefetch" href="/assets/vmtool.html.cab0016c.js"><link rel="prefetch" href="/assets/watch.html.720967e4.js"><link rel="prefetch" href="/assets/web-console.html.d4f73a79.js"><link rel="prefetch" href="/assets/intro.html.ad2f5283.js"><link rel="prefetch" href="/assets/user-question-history11440.html.eb418c9c.js"><link rel="prefetch" href="/assets/user-question-history11442.html.76a26878.js"><link rel="prefetch" href="/assets/user-question-history11443.html.9065b789.js"><link rel="prefetch" href="/assets/user-question-history11444.html.9bfcea86.js"><link rel="prefetch" href="/assets/user-question-history11450.html.a99e27c7.js"><link rel="prefetch" href="/assets/user-question-history11451.html.2c3d4b6e.js"><link rel="prefetch" href="/assets/user-question-history11452.html.37a12676.js"><link rel="prefetch" href="/assets/user-question-history11453.html.124fb344.js"><link rel="prefetch" href="/assets/user-question-history11454.html.b8c9f3b5.js"><link rel="prefetch" href="/assets/user-question-history11466.html.c350b29f.js"><link rel="prefetch" href="/assets/user-question-history11467.html.e55e7e0f.js"><link rel="prefetch" href="/assets/user-question-history11468.html.fee0b6bf.js"><link rel="prefetch" href="/assets/user-question-history11469.html.48774bee.js"><link rel="prefetch" href="/assets/user-question-history11784.html.668e9fab.js"><link rel="prefetch" href="/assets/user-question-history11795.html.5f051d83.js"><link rel="prefetch" href="/assets/user-question-history11809.html.5dcfe4d9.js"><link rel="prefetch" href="/assets/user-question-history11810.html.410c1593.js"><link rel="prefetch" href="/assets/user-question-history11814.html.247df90d.js"><link rel="prefetch" href="/assets/user-question-history12453.html.101cbf50.js"><link rel="prefetch" href="/assets/user-question-history12454.html.ef5193b0.js"><link rel="prefetch" href="/assets/user-question-history12455.html.4eba947c.js"><link rel="prefetch" href="/assets/user-question-history12706.html.2acc56a8.js"><link rel="prefetch" href="/assets/user-question-history12715.html.06e30880.js"><link rel="prefetch" href="/assets/user-question-history12716.html.55a1f651.js"><link rel="prefetch" href="/assets/user-question-history12740.html.1ffe0148.js"><link rel="prefetch" href="/assets/user-question-history12741.html.082e41ef.js"><link rel="prefetch" href="/assets/user-question-history13448.html.d19092ed.js"><link rel="prefetch" href="/assets/user-question-history13504.html.656220af.js"><link rel="prefetch" href="/assets/user-question-history13506.html.9361fc49.js"><link rel="prefetch" href="/assets/user-question-history13507.html.b3c10c63.js"><link rel="prefetch" href="/assets/user-question-history13508.html.db7590a8.js"><link rel="prefetch" href="/assets/user-question-history13509.html.6cecec63.js"><link rel="prefetch" href="/assets/user-question-history13510.html.d9c0a9a8.js"><link rel="prefetch" href="/assets/user-question-history13511.html.32974ae9.js"><link rel="prefetch" href="/assets/user-question-history13512.html.140aba0f.js"><link rel="prefetch" href="/assets/user-question-history13513.html.77a8767e.js"><link rel="prefetch" href="/assets/user-question-history13522.html.f1c64dc8.js"><link rel="prefetch" href="/assets/user-question-history14763.html.430c6bd6.js"><link rel="prefetch" href="/assets/user-question-history14831.html.1ffc07c1.js"><link rel="prefetch" href="/assets/user-question-history14832.html.c52739ec.js"><link rel="prefetch" href="/assets/user-question-history14833.html.b4d489f5.js"><link rel="prefetch" href="/assets/user-question-history14834.html.49cbf6cc.js"><link rel="prefetch" href="/assets/user-question-history14840.html.7e958624.js"><link rel="prefetch" href="/assets/user-question-history14843.html.a580efb4.js"><link rel="prefetch" href="/assets/user-question-history15167.html.bc4c9303.js"><link rel="prefetch" href="/assets/user-question-history15543.html.702fa315.js"><link rel="prefetch" href="/assets/user-question-history15726.html.c1f6ba9a.js"><link rel="prefetch" href="/assets/user-question-history15728.html.bd6d35f2.js"><link rel="prefetch" href="/assets/user-question-history15729.html.c2e6f876.js"><link rel="prefetch" href="/assets/user-question-history15730.html.ba9281ff.js"><link rel="prefetch" href="/assets/user-question-history15731.html.1266a1ab.js"><link rel="prefetch" href="/assets/user-question-history15735.html.ddb30718.js"><link rel="prefetch" href="/assets/user-question-history15736.html.cd1afe0d.js"><link rel="prefetch" href="/assets/user-question-history15737.html.1e635060.js"><link rel="prefetch" href="/assets/user-question-history15738.html.f1088f07.js"><link rel="prefetch" href="/assets/user-question-history15739.html.76719e03.js"><link rel="prefetch" href="/assets/user-question-history15740.html.9b5c1166.js"><link rel="prefetch" href="/assets/404.html.25b73d63.js"><link rel="prefetch" href="/assets/index.html.cc26b352.js"><link rel="prefetch" href="/assets/index.html.bd965b18.js"><link rel="prefetch" href="/assets/index.html.3b8261b7.js"><link rel="prefetch" href="/assets/advanced-use.html.d789f3a2.js"><link rel="prefetch" href="/assets/advice-class.html.ba48fcba.js"><link rel="prefetch" href="/assets/agent.html.01ce2a7d.js"><link rel="prefetch" href="/assets/arthas-properties.html.36db6ce1.js"><link rel="prefetch" href="/assets/arthas3.html.de1d39cb.js"><link rel="prefetch" href="/assets/async.html.8affae81.js"><link rel="prefetch" href="/assets/auth.html.17f57856.js"><link rel="prefetch" href="/assets/base64.html.aaa0efe4.js"><link rel="prefetch" href="/assets/batch-support.html.c1a4ec67.js"><link rel="prefetch" href="/assets/cat.html.72088752.js"><link rel="prefetch" href="/assets/classloader.html.9f4cc330.js"><link rel="prefetch" href="/assets/cls.html.e65803ae.js"><link rel="prefetch" href="/assets/commands.html.272e334e.js"><link rel="prefetch" href="/assets/contact-us.html.8ed06ac1.js"><link rel="prefetch" href="/assets/dashboard.html.0ef1771b.js"><link rel="prefetch" href="/assets/docker.html.b069de5b.js"><link rel="prefetch" href="/assets/download.html.84c5f590.js"><link rel="prefetch" href="/assets/dump.html.039ddd7a.js"><link rel="prefetch" href="/assets/echo.html.c1c880a5.js"><link rel="prefetch" href="/assets/getstatic.html.be41052f.js"><link rel="prefetch" href="/assets/grep.html.56b406c8.js"><link rel="prefetch" href="/assets/groovy.html.3e9149b9.js"><link rel="prefetch" href="/assets/heapdump.html.657adde0.js"><link rel="prefetch" href="/assets/help.html.07d80123.js"><link rel="prefetch" href="/assets/history.html.f79beb7b.js"><link rel="prefetch" href="/assets/http-api.html.3c88b899.js"><link rel="prefetch" href="/assets/idea-plugin.html.5e703d02.js"><link rel="prefetch" href="/assets/install-detail.html.53805e8c.js"><link rel="prefetch" href="/assets/jad.html.a14605cd.js"><link rel="prefetch" href="/assets/jfr.html.ab997331.js"><link rel="prefetch" href="/assets/jvm.html.5afacc2a.js"><link rel="prefetch" href="/assets/keymap.html.08a80cc8.js"><link rel="prefetch" href="/assets/logger.html.2cfa1583.js"><link rel="prefetch" href="/assets/manual-install.html.1f093138.js"><link rel="prefetch" href="/assets/mbean.html.1333c9fc.js"><link rel="prefetch" href="/assets/mc.html.08aa7613.js"><link rel="prefetch" href="/assets/memory.html.192fd8fb.js"><link rel="prefetch" href="/assets/monitor.html.c83c2628.js"><link rel="prefetch" href="/assets/ognl.html.184eb413.js"><link rel="prefetch" href="/assets/options.html.aa24a740.js"><link rel="prefetch" href="/assets/perfcounter.html.8f92eee5.js"><link rel="prefetch" href="/assets/profiler.html.b4e7b179.js"><link rel="prefetch" href="/assets/pwd.html.6778ab7d.js"><link rel="prefetch" href="/assets/quick-start.html.77770d33.js"><link rel="prefetch" href="/assets/quit.html.ea396c96.js"><link rel="prefetch" href="/assets/redefine.html.4b719b4f.js"><link rel="prefetch" href="/assets/release-notes.html.9931fd54.js"><link rel="prefetch" href="/assets/reset.html.62aacc49.js"><link rel="prefetch" href="/assets/retransform.html.4cf58f3f.js"><link rel="prefetch" href="/assets/save-log.html.0f61e546.js"><link rel="prefetch" href="/assets/sc.html.9c7a915d.js"><link rel="prefetch" href="/assets/session.html.2f9b8cf3.js"><link rel="prefetch" href="/assets/sm.html.3db018cd.js"><link rel="prefetch" href="/assets/spring-boot-starter.html.5af90f50.js"><link rel="prefetch" href="/assets/stack.html.6b7aef20.js"><link rel="prefetch" href="/assets/start-arthas.html.8a2e901b.js"><link rel="prefetch" href="/assets/stop.html.fbaad68b.js"><link rel="prefetch" href="/assets/sysenv.html.9616c0f1.js"><link rel="prefetch" href="/assets/sysprop.html.a737809e.js"><link rel="prefetch" href="/assets/tee.html.a5c6dd19.js"><link rel="prefetch" href="/assets/thread.html.e84f031c.js"><link rel="prefetch" href="/assets/trace.html.871cc1dd.js"><link rel="prefetch" href="/assets/tt.html.30705393.js"><link rel="prefetch" href="/assets/tunnel.html.405718e3.js"><link rel="prefetch" href="/assets/version.html.12fbd0e9.js"><link rel="prefetch" href="/assets/vmoption.html.f88ee4d3.js"><link rel="prefetch" href="/assets/vmtool.html.b964c586.js"><link rel="prefetch" href="/assets/watch.html.a68cbce7.js"><link rel="prefetch" href="/assets/web-console.html.344f2826.js"><link rel="prefetch" href="/assets/index.html.41f542b5.js"><link rel="prefetch" href="/assets/advanced-use.html.cb8451b7.js"><link rel="prefetch" href="/assets/advice-class.html.b6a8fa5a.js"><link rel="prefetch" href="/assets/agent.html.148829b7.js"><link rel="prefetch" href="/assets/arthas-properties.html.cacc3941.js"><link rel="prefetch" href="/assets/async.html.8b2806bf.js"><link rel="prefetch" href="/assets/auth.html.3bb2951e.js"><link rel="prefetch" href="/assets/base64.html.3fbe9cf4.js"><link rel="prefetch" href="/assets/batch-support.html.71f8f3fb.js"><link rel="prefetch" href="/assets/cat.html.5b4cb9f3.js"><link rel="prefetch" href="/assets/classloader.html.46af1fe6.js"><link rel="prefetch" href="/assets/cls.html.7f453e49.js"><link rel="prefetch" href="/assets/commands.html.35e78e44.js"><link rel="prefetch" href="/assets/contact-us.html.f25504ea.js"><link rel="prefetch" href="/assets/dashboard.html.e42bb934.js"><link rel="prefetch" href="/assets/docker.html.b243b231.js"><link rel="prefetch" href="/assets/download.html.e3045976.js"><link rel="prefetch" href="/assets/dump.html.979efe18.js"><link rel="prefetch" href="/assets/echo.html.62333cf3.js"><link rel="prefetch" href="/assets/faq.html.03513201.js"><link rel="prefetch" href="/assets/getstatic.html.43d777d8.js"><link rel="prefetch" href="/assets/grep.html.1892c27b.js"><link rel="prefetch" href="/assets/groovy.html.5652a9ee.js"><link rel="prefetch" href="/assets/heapdump.html.5271bd97.js"><link rel="prefetch" href="/assets/help.html.1c9efa6f.js"><link rel="prefetch" href="/assets/history.html.a8887484.js"><link rel="prefetch" href="/assets/http-api.html.99ff8979.js"><link rel="prefetch" href="/assets/idea-plugin.html.33e4dff7.js"><link rel="prefetch" href="/assets/install-detail.html.6de029c3.js"><link rel="prefetch" href="/assets/jad.html.7318ef53.js"><link rel="prefetch" href="/assets/jfr.html.682c59e8.js"><link rel="prefetch" href="/assets/jvm.html.056b22b3.js"><link rel="prefetch" href="/assets/keymap.html.86b0eeff.js"><link rel="prefetch" href="/assets/logger.html.5b63d950.js"><link rel="prefetch" href="/assets/manual-install.html.a722fe59.js"><link rel="prefetch" href="/assets/mbean.html.54c8c4be.js"><link rel="prefetch" href="/assets/mc.html.add3f6c9.js"><link rel="prefetch" href="/assets/memory.html.9b2c2aca.js"><link rel="prefetch" href="/assets/monitor.html.b3f3af01.js"><link rel="prefetch" href="/assets/ognl.html.dd153bf6.js"><link rel="prefetch" href="/assets/options.html.d657ed20.js"><link rel="prefetch" href="/assets/perfcounter.html.03ded92f.js"><link rel="prefetch" href="/assets/profiler.html.c520a6eb.js"><link rel="prefetch" href="/assets/pwd.html.cd5a0eeb.js"><link rel="prefetch" href="/assets/quick-start.html.5f9eb1f8.js"><link rel="prefetch" href="/assets/quit.html.4a6ef973.js"><link rel="prefetch" href="/assets/redefine.html.6734b776.js"><link rel="prefetch" href="/assets/release-notes.html.e55d1b8f.js"><link rel="prefetch" href="/assets/reset.html.cc40f3e3.js"><link rel="prefetch" href="/assets/retransform.html.d306096d.js"><link rel="prefetch" href="/assets/save-log.html.90724880.js"><link rel="prefetch" href="/assets/sc.html.4c46e6c7.js"><link rel="prefetch" href="/assets/session.html.eb40fab5.js"><link rel="prefetch" href="/assets/sm.html.1d42dfc9.js"><link rel="prefetch" href="/assets/spring-boot-starter.html.9dd50feb.js"><link rel="prefetch" href="/assets/stack.html.427175f3.js"><link rel="prefetch" href="/assets/start-arthas.html.60cee49c.js"><link rel="prefetch" href="/assets/stop.html.28103306.js"><link rel="prefetch" href="/assets/sysenv.html.444f5acb.js"><link rel="prefetch" href="/assets/sysprop.html.08ac33f7.js"><link rel="prefetch" href="/assets/tee.html.56f71b8c.js"><link rel="prefetch" href="/assets/thread.html.a1ea606b.js"><link rel="prefetch" href="/assets/trace.html.be64c3e5.js"><link rel="prefetch" href="/assets/tt.html.2eb3ef73.js"><link rel="prefetch" href="/assets/tunnel.html.a907767e.js"><link rel="prefetch" href="/assets/version.html.bf91f162.js"><link rel="prefetch" href="/assets/vmoption.html.ff9fb3d0.js"><link rel="prefetch" href="/assets/vmtool.html.efe29162.js"><link rel="prefetch" href="/assets/watch.html.a87f754a.js"><link rel="prefetch" href="/assets/web-console.html.d809bb89.js"><link rel="prefetch" href="/assets/intro.html.ee9a97d1.js"><link rel="prefetch" href="/assets/user-question-history11440.html.488596db.js"><link rel="prefetch" href="/assets/user-question-history11442.html.d70c439c.js"><link rel="prefetch" href="/assets/user-question-history11443.html.9f12dd51.js"><link rel="prefetch" href="/assets/user-question-history11444.html.4671ef6b.js"><link rel="prefetch" href="/assets/user-question-history11450.html.7dcb7253.js"><link rel="prefetch" href="/assets/user-question-history11451.html.6e728c8d.js"><link rel="prefetch" href="/assets/user-question-history11452.html.45b61b26.js"><link rel="prefetch" href="/assets/user-question-history11453.html.8bbb984f.js"><link rel="prefetch" href="/assets/user-question-history11454.html.766890ad.js"><link rel="prefetch" href="/assets/user-question-history11466.html.8cf66124.js"><link rel="prefetch" href="/assets/user-question-history11467.html.0216fee3.js"><link rel="prefetch" href="/assets/user-question-history11468.html.4d5b6408.js"><link rel="prefetch" href="/assets/user-question-history11469.html.46680799.js"><link rel="prefetch" href="/assets/user-question-history11784.html.380f8176.js"><link rel="prefetch" href="/assets/user-question-history11795.html.8ed05dd0.js"><link rel="prefetch" href="/assets/user-question-history11809.html.0bcd9529.js"><link rel="prefetch" href="/assets/user-question-history11810.html.704753ef.js"><link rel="prefetch" href="/assets/user-question-history11814.html.8861a39d.js"><link rel="prefetch" href="/assets/user-question-history12453.html.149325cb.js"><link rel="prefetch" href="/assets/user-question-history12454.html.e204eb1b.js"><link rel="prefetch" href="/assets/user-question-history12455.html.b4474ecb.js"><link rel="prefetch" href="/assets/user-question-history12706.html.60f366d6.js"><link rel="prefetch" href="/assets/user-question-history12715.html.a4413048.js"><link rel="prefetch" href="/assets/user-question-history12716.html.848d83fc.js"><link rel="prefetch" href="/assets/user-question-history12740.html.ecc298b3.js"><link rel="prefetch" href="/assets/user-question-history12741.html.22f6ef6a.js"><link rel="prefetch" href="/assets/user-question-history13448.html.2b05438b.js"><link rel="prefetch" href="/assets/user-question-history13504.html.83cd0b5c.js"><link rel="prefetch" href="/assets/user-question-history13506.html.deb34704.js"><link rel="prefetch" href="/assets/user-question-history13507.html.a5afa6c9.js"><link rel="prefetch" href="/assets/user-question-history13508.html.6f2ff0db.js"><link rel="prefetch" href="/assets/user-question-history13509.html.2e865467.js"><link rel="prefetch" href="/assets/user-question-history13510.html.9a0e745a.js"><link rel="prefetch" href="/assets/user-question-history13511.html.bb701f3c.js"><link rel="prefetch" href="/assets/user-question-history13512.html.baef63df.js"><link rel="prefetch" href="/assets/user-question-history13513.html.cee8bc3c.js"><link rel="prefetch" href="/assets/user-question-history13522.html.13891a91.js"><link rel="prefetch" href="/assets/user-question-history14763.html.9592adc7.js"><link rel="prefetch" href="/assets/user-question-history14831.html.172460da.js"><link rel="prefetch" href="/assets/user-question-history14832.html.b9ec444c.js"><link rel="prefetch" href="/assets/user-question-history14833.html.17cad851.js"><link rel="prefetch" href="/assets/user-question-history14834.html.12e4c92b.js"><link rel="prefetch" href="/assets/user-question-history14840.html.38221b71.js"><link rel="prefetch" href="/assets/user-question-history14843.html.0fee50c4.js"><link rel="prefetch" href="/assets/user-question-history15167.html.208038b0.js"><link rel="prefetch" href="/assets/user-question-history15543.html.44290e21.js"><link rel="prefetch" href="/assets/user-question-history15726.html.1dc99fe8.js"><link rel="prefetch" href="/assets/user-question-history15728.html.9022352f.js"><link rel="prefetch" href="/assets/user-question-history15729.html.46c9a68c.js"><link rel="prefetch" href="/assets/user-question-history15730.html.37ab3a01.js"><link rel="prefetch" href="/assets/user-question-history15731.html.e83d0a9b.js"><link rel="prefetch" href="/assets/user-question-history15735.html.704b0f7f.js"><link rel="prefetch" href="/assets/user-question-history15736.html.2a714e59.js"><link rel="prefetch" href="/assets/user-question-history15737.html.db5396f9.js"><link rel="prefetch" href="/assets/user-question-history15738.html.da09f41e.js"><link rel="prefetch" href="/assets/user-question-history15739.html.7b9ebf97.js"><link rel="prefetch" href="/assets/user-question-history15740.html.a730372e.js"><link rel="prefetch" href="/assets/404.html.2034f85b.js">
|
|
|
<link rel="stylesheet" href="/assets/style.cf0d4c26.css">
|
|
|
</head>
|
|
|
<body>
|
|
|
<div id="app"><!--[--><div class="theme-container"><!--[--><header class="navbar"><div class="toggle-sidebar-button" title="切换侧边栏" aria-expanded="false" role="button" tabindex="0"><div class="icon" aria-hidden="true"><span></span><span></span><span></span></div></div><span><a href="/" class="" data-v-a8869d06><!----><span class="site-name can-hide" data-v-a8869d06>arthas</span><span class="navbar-version" data-v-a8869d06>v4.0.3</span></a></span><div class="navbar-items-wrapper" style=""><!--[--><!--]--><nav class="navbar-items can-hide"><!--[--><div class="navbar-item"><a href="/" class="" aria-label="首页"><!--[--><!--]--> 首页 <!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="/doc/arthas-tutorials.html?language=cn&id=arthas-basics" rel="noopener noreferrer" target="_blank" aria-label="在线教程"><!--[--><!--]--><span>在线教程</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/" class="router-link-active" aria-label="文档"><!--[--><!--]--> 文档 <!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/commands.md" class="" aria-label="命令列表"><!--[--><!--]--> 命令列表 <!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/download.md" class="" aria-label="下载"><!--[--><!--]--> 下载 <!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/expert/intro.md" class="" aria-label="专家答疑"><!--[--><!--]--> 专家答疑 <!--[--><!--]--></a></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="版本"><span class="title">版本</span><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="版本"><span class="title">版本</span><span class="right arrow"></span></button><ul style="display:none;" class="navbar-dropdown"><!--[--><li class="navbar-dropdown-item"><a class="external-link" href="https://arthas.aliyun.com/3.x/" rel="noopener noreferrer" target="_blank" aria-label="v3.x"><!--[--><!--]--><span>v3.x</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a></li><!--]--></ul></div></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="Select language"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" style="height:1.25rem;width:1.25rem;vertical-align:bottom;" viewbox="0 0 24 24"><path fill="currentColor" d="M13.35 22q-.6 0-.862-.387q-.263-.388-.063-.963l3.65-9.675q.15-.4.563-.688Q17.05 10 17.5 10q.425 0 .85.287q.425.288.575.688l3.65 9.675q.2.575-.062.963q-.263.387-.888.387q-.275 0-.5-.175q-.225-.175-.325-.425l-.85-2.45H15.1l-.875 2.45q-.1.25-.35.425q-.25.175-.525.175Zm2.35-4.8h3.6l-1.75-4.95h-.1ZM7.15 8.55q.4.725.85 1.337q.45.613 1.05 1.263q1.1-1.2 1.825-2.462Q11.6 7.425 12.1 6H2q-.425 0-.712-.287Q1 5.425 1 5t.288-.713Q1.575 4 2 4h6V3q0-.425.288-.713Q8.575 2 9 2t.713.287Q10 2.575 10 3v1h6q.425 0 .712.287Q17 4.575 17 5t-.288.713Q16.425 6 16 6h-1.9q-.525 1.775-1.425 3.45q-.9 1.675-2.225 3.15l2.4 2.45l-.75 2.05L9 14l-4.3 4.3q-.275.275-.7.275q-.425 0-.7-.275q-.275-.275-.275-.7q0-.425.275-.7l4.35-4.35q-.675-.775-1.25-1.563q-.575-.787-1.025-1.662Q5.1 8.8 5.35 8.4t.875-.4q.25 0 .525.162q.275.163.4.388Z"></path></svg><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="Select language"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" style="height:1.25rem;width:1.25rem;vertical-align:bottom;" viewbox="0 0 24 24"><path fill="currentColor" d="M13.35 22q-.6 0-.862-.387q-.263-.388-.063-.963l3.65-9.675q.15-.4.563-.688Q17.05 10 17.5 10q.425 0 .85.287q.425.288.575.688l3.65 9.675q.2.575-.062.963q-.263.387-.888.387q-.275 0-.5-.175q-.225-.175-.325-.425l-.85-2.45H15.1l-.875 2.45q-.1.25-.35.425q-.25.175-.525.175Zm2.35-4.8h3.6l-1.75-4.95h-.1ZM7.15 8.55q.4.725.85 1.337q.45.613 1.05 1.263q1.1-1.2 1.825-2.462Q11.6 7.425 12.1 6H2q-.425 0-.712-.287Q1 5.425 1 5t.288-.713Q1.575 4 2 4h6V3q0-.425.288-.713Q8.575 2 9 2t.713.287Q10 2.575 10 3v1h6q.425 0 .712.287Q17 4.575 17 5t-.288.713Q16.425 6 16 6h-1.9q-.525 1.775-1.425 3.45q-.9 1.675-2.225 3.15l2.4 2.45l-.75 2.05L9 14l-4.3 4.3q-.275.275-.7.275q-.425 0-.7-.275q-.275-.275-.275-.7q0-.425.275-.7l4.35-4.35q-.675-.775-1.25-1.563q-.575-.787-1.025-1.662Q5.1 8.8 5.35 8.4t.875-.4q.25 0 .525.162q.275.163.4.388Z"></path></svg><span class="right arrow"></span></button><ul style="display:none;" class="navbar-dropdown"><!--[--><li class="navbar-dropdown-item"><a aria-current="page" href="/doc/faq.html" class="router-link-active router-link-exact-active router-link-active" aria-label="简体中文"><!--[--><!--]--> 简体中文 <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/en/doc/faq.html" class="" aria-label="English"><!--[--><!--]--> English <!--[--><!--]--></a></li><!--]--></ul></div></div><div class="navbar-item"><a class="external-link" href="https://github.com/alibaba/arthas" rel="noopener noreferrer" target="_blank" aria-label="GitHub"><!--[--><!--]--><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" style="height:1.25rem;width:1.25rem;vertical-align:bottom;"><path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"></path></svg><!----><!--[--><!--]--></a></div><!--]--></nav><!--[--><!--]--><button class="toggle-color-mode-button" title="切换颜色模式"><svg style="" class="icon" focusable="false" viewBox="0 0 32 32"><path d="M16 12.005a4 4 0 1 1-4 4a4.005 4.005 0 0 1 4-4m0-2a6 6 0 1 0 6 6a6 6 0 0 0-6-6z" fill="currentColor"></path><path d="M5.394 6.813l1.414-1.415l3.506 3.506L8.9 10.318z" fill="currentColor"></path><path d="M2 15.005h5v2H2z" fill="currentColor"></path><path d="M5.394 25.197L8.9 21.691l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 25.005h2v5h-2z" fill="currentColor"></path><path d="M21.687 23.106l1.414-1.415l3.506 3.506l-1.414 1.414z" fill="currentColor"></path><path d="M25 15.005h5v2h-5z" fill="currentColor"></path><path d="M21.687 8.904l3.506-3.506l1.414 1.415l-3.506 3.505z" fill="currentColor"></path><path d="M15 2.005h2v5h-2z" fill="currentColor"></path></svg><svg style="display:none;" class="icon" focusable="false" viewBox="0 0 32 32"><path d="M13.502 5.414a15.075 15.075 0 0 0 11.594 18.194a11.113 11.113 0 0 1-7.975 3.39c-.138 0-.278.005-.418 0a11.094 11.094 0 0 1-3.2-21.584M14.98 3a1.002 1.002 0 0 0-.175.016a13.096 13.096 0 0 0 1.825 25.981c.164.006.328 0 .49 0a13.072 13.072 0 0 0 10.703-5.555a1.01 1.01 0 0 0-.783-1.565A13.08 13.08 0 0 1 15.89 4.38A1.015 1.015 0 0 0 14.98 3z" fill="currentColor"></path></svg></button><div id="docsearch-container"></div></div></header><!--]--><div class="sidebar-mask"></div><!--[--><aside class="sidebar"><nav class="navbar-items"><!--[--><div class="navbar-item"><a href="/" class="" aria-label="首页"><!--[--><!--]--> 首页 <!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="/doc/arthas-tutorials.html?language=cn&id=arthas-basics" rel="noopener noreferrer" target="_blank" aria-label="在线教程"><!--[--><!--]--><span>在线教程</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/" class="router-link-active" aria-label="文档"><!--[--><!--]--> 文档 <!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/commands.md" class="" aria-label="命令列表"><!--[--><!--]--> 命令列表 <!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/download.md" class="" aria-label="下载"><!--[--><!--]--> 下载 <!--[--><!--]--></a></div><div class="navbar-item"><a href="/doc/expert/intro.md" class="" aria-label="专家答疑"><!--[--><!--]--> 专家答疑 <!--[--><!--]--></a></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="版本"><span class="title">版本</span><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="版本"><span class="title">版本</span><span class="right arrow"></span></button><ul style="display:none;" class="navbar-dropdown"><!--[--><li class="navbar-dropdown-item"><a class="external-link" href="https://arthas.aliyun.com/3.x/" rel="noopener noreferrer" target="_blank" aria-label="v3.x"><!--[--><!--]--><span>v3.x</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a></li><!--]--></ul></div></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="Select language"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" style="height:1.25rem;width:1.25rem;vertical-align:bottom;" viewbox="0 0 24 24"><path fill="currentColor" d="M13.35 22q-.6 0-.862-.387q-.263-.388-.063-.963l3.65-9.675q.15-.4.563-.688Q17.05 10 17.5 10q.425 0 .85.287q.425.288.575.688l3.65 9.675q.2.575-.062.963q-.263.387-.888.387q-.275 0-.5-.175q-.225-.175-.325-.425l-.85-2.45H15.1l-.875 2.45q-.1.25-.35.425q-.25.175-.525.175Zm2.35-4.8h3.6l-1.75-4.95h-.1ZM7.15 8.55q.4.725.85 1.337q.45.613 1.05 1.263q1.1-1.2 1.825-2.462Q11.6 7.425 12.1 6H2q-.425 0-.712-.287Q1 5.425 1 5t.288-.713Q1.575 4 2 4h6V3q0-.425.288-.713Q8.575 2 9 2t.713.287Q10 2.575 10 3v1h6q.425 0 .712.287Q17 4.575 17 5t-.288.713Q16.425 6 16 6h-1.9q-.525 1.775-1.425 3.45q-.9 1.675-2.225 3.15l2.4 2.45l-.75 2.05L9 14l-4.3 4.3q-.275.275-.7.275q-.425 0-.7-.275q-.275-.275-.275-.7q0-.425.275-.7l4.35-4.35q-.675-.775-1.25-1.563q-.575-.787-1.025-1.662Q5.1 8.8 5.35 8.4t.875-.4q.25 0 .525.162q.275.163.4.388Z"></path></svg><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="Select language"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1em" height="1em" style="height:1.25rem;width:1.25rem;vertical-align:bottom;" viewbox="0 0 24 24"><path fill="currentColor" d="M13.35 22q-.6 0-.862-.387q-.263-.388-.063-.963l3.65-9.675q.15-.4.563-.688Q17.05 10 17.5 10q.425 0 .85.287q.425.288.575.688l3.65 9.675q.2.575-.062.963q-.263.387-.888.387q-.275 0-.5-.175q-.225-.175-.325-.425l-.85-2.45H15.1l-.875 2.45q-.1.25-.35.425q-.25.175-.525.175Zm2.35-4.8h3.6l-1.75-4.95h-.1ZM7.15 8.55q.4.725.85 1.337q.45.613 1.05 1.263q1.1-1.2 1.825-2.462Q11.6 7.425 12.1 6H2q-.425 0-.712-.287Q1 5.425 1 5t.288-.713Q1.575 4 2 4h6V3q0-.425.288-.713Q8.575 2 9 2t.713.287Q10 2.575 10 3v1h6q.425 0 .712.287Q17 4.575 17 5t-.288.713Q16.425 6 16 6h-1.9q-.525 1.775-1.425 3.45q-.9 1.675-2.225 3.15l2.4 2.45l-.75 2.05L9 14l-4.3 4.3q-.275.275-.7.275q-.425 0-.7-.275q-.275-.275-.275-.7q0-.425.275-.7l4.35-4.35q-.675-.775-1.25-1.563q-.575-.787-1.025-1.662Q5.1 8.8 5.35 8.4t.875-.4q.25 0 .525.162q.275.163.4.388Z"></path></svg><span class="right arrow"></span></button><ul style="display:none;" class="navbar-dropdown"><!--[--><li class="navbar-dropdown-item"><a aria-current="page" href="/doc/faq.html" class="router-link-active router-link-exact-active router-link-active" aria-label="简体中文"><!--[--><!--]--> 简体中文 <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a href="/en/doc/faq.html" class="" aria-label="English"><!--[--><!--]--> English <!--[--><!--]--></a></li><!--]--></ul></div></div><div class="navbar-item"><a class="external-link" href="https://github.com/alibaba/arthas" rel="noopener noreferrer" target="_blank" aria-label="GitHub"><!--[--><!--]--><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewbox="0 0 24 24" style="height:1.25rem;width:1.25rem;vertical-align:bottom;"><path fill="currentColor" d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33c.85 0 1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2Z"></path></svg><!----><!--[--><!--]--></a></div><!--]--></nav><!--[--><!--]--><ul class="sidebar-items"><!--[--><li><p tabindex="0" class="sidebar-item sidebar-heading active">文档 <!----></p><ul style="" class="sidebar-item-children"><!--[--><li><a href="/doc/" class="router-link-active sidebar-item" aria-label="简介"><!--[--><!--]--> 简介 <!--[--><!--]--></a><!----></li><li><a href="/doc/quick-start.html" class="sidebar-item" aria-label="快速入门"><!--[--><!--]--> 快速入门 <!--[--><!--]--></a><!----></li><li><a href="/doc/install-detail.html" class="sidebar-item" aria-label="Arthas Install"><!--[--><!--]--> Arthas Install <!--[--><!--]--></a><!----></li><li><a href="/doc/download.html" class="sidebar-item" aria-label="下载"><!--[--><!--]--> 下载 <!--[--><!--]--></a><!----></li><li><a href="/doc/advice-class.html" class="sidebar-item" aria-label="表达式核心变量"><!--[--><!--]--> 表达式核心变量 <!--[--><!--]--></a><!----></li><li><a href="/doc/commands.md" class="sidebar-item collapsible" aria-label="命令列表"><!--[--><!--]--> 命令列表 <!--[--><!--]--></a><ul style="display:none;" class="sidebar-item-children"><!--[--><li><a href="/doc/auth.html" class="sidebar-item" aria-label="auth"><!--[--><!--]--> auth <!--[--><!--]--></a><!----></li><li><a href="/doc/base64.html" class="sidebar-item" aria-label="base64"><!--[--><!--]--> base64 <!--[--><!--]--></a><!----></li><li><a href="/doc/cat.html" class="sidebar-item" aria-label="cat"><!--[--><!--]--> cat <!--[--><!--]--></a><!----></li><li><a href="/doc/classloader.html" class="sidebar-item" aria-label="classloader"><!--[--><!--]--> classloader <!--[--><!--]--></a><!----></li><li><a href="/doc/cls.html" class="sidebar-item" aria-label="cls"><!--[--><!--]--> cls <!--[--><!--]--></a><!----></li><li><a href="/doc/dashboard.html" class="sidebar-item" aria-label="dashboard"><!--[--><!--]--> dashboard <!--[--><!--]--></a><!----></li><li><a href="/doc/dump.html" class="sidebar-item" aria-label="dump"><!--[--><!--]--> dump <!--[--><!--]--></a><!----></li><li><a href="/doc/echo.html" class="sidebar-item" aria-label="echo"><!--[--><!--]--> echo <!--[--><!--]--></a><!----></li><li><a href="/doc/getstatic.html" class="sidebar-item" aria-label="getstatic"><!--[--><!--]--> getstatic <!--[--><!--]--></a><!----></li><li><a href="/doc/grep.html" class="sidebar-item" aria-label="grep"><!--[--><!--]--> grep <!--[--><!--]--></a><!----></li><li><a href="/doc/heapdump.html" class="sidebar-item" aria-label="heapdump"><!--[--><!--]--> heapdump <!--[--><!--]--></a><!----></li><li><a href="/doc/help.html" class="sidebar-item" aria-label="help"><!--[--><!--]--> help <!--[--><!--]--></a><!----></li><li><a href="/doc/history.html" class="sidebar-item" aria-label="history"><!--[--><!--]--> history <!--[--><!--]--></a><!----></li><li><a href="/doc/jad.html" class="sidebar-item" aria-label="jad"><!--[--><!--]--> jad <!--[--><!--]--></a><!----></li><li><a href="/doc/jfr.html" class="sidebar-item" aria-label="jfr"><!--[--><!--]--> jfr <!--[--><!--]--></a><!----></li><li><a href="/doc/jvm.html" class="sidebar-item" aria-label="jvm"><!--[--><!--]--> jvm <!--[--><!--]--></a><!----></li><li><a href="/doc/keymap.html" class="sidebar-item" aria-label="keymap"><!--[--><!--]--> keymap <!--[--><!--]--></a><!----></li><li><a href="/doc/logger.html" class="sidebar-item" aria-label="logger"><!--[--><!--]--> logger <!--[--><!--]--></a><!----></li><li><a href="/doc/mbean.html" class="sidebar-item" aria-label="mbean"><!--[--><!--]--> mbean <!--[--><!--]--></a><!----></li><li><a href="/doc/mc.html" class="sidebar-item" aria-label="mc"><!--[--><!--]--> mc <!--[--><!--]--></a><!----></li><li><a href="/doc/memory.html" class="sidebar-item" aria-label="memory"><!--[--><!--]--> memory <!--[--><!--]--></a><!----></li><li><a href="/doc/monitor.html" class="sidebar-item" aria-label="monitor"><!--[--><!--]--> monitor <!--[--><!--]--></a><!----></li><li><a href="/doc/ognl.html" class="sidebar-item" aria-label="ognl"><!--[--><!--]--> ognl <!--[--><!--]--></a><!----></li><li><a href="/doc/options.html" class="sidebar-item" aria-label="options"><!--[--><!--]--> options <!--[--><!--]--></a><!----></li><li><a href="/doc/perfcounter.html" class="sidebar-item" aria-label="perfcounter"><!--[--><!--]--> perfcounter <!--[--><!--]--></a><!----></li><li><a href="/doc/profiler.html" class="sidebar-item" aria-label="profiler"><!--[--><!--]--> profiler <!--[--><!--]--></a><!----></li><li><a href="/doc/pwd.html" class="sidebar-item" aria-label="pwd"><!--[--><!--]--> pwd <!--[--><!--]--></a><!----></li><li><a href="/doc/quit.html" class="sidebar-item" aria-label="quit"><!--[--><!--]--> quit <!--[--><!--]--></a><!----></li><li><a href="/doc/redefine.html" class="sidebar-item" aria-label="redefine"><!--[--><!--]--> redefine <!--[--><!--]--></a><!----></li><li><a href="/doc/reset.html" class="sidebar-item" aria-label="reset"><!--[--><!--]--> reset <!--[--><!--]--></a><!----></li><li><a href="/doc/retransform.html" class="sidebar-item" aria-label="retransform"><!--[--><!--]--> retransform <!--[--><!--]--></a><!----></li><li><a href="/doc/sc.html" class="sidebar-item" aria-label="sc"><!--[--><!--]--> sc <!--[--><!--]--></a><!----></li><li><a href="/doc/session.html" class="sidebar-item" aria-label="session"><!--[--><!--]--> session <!--[--><!--]--></a><!----></li><li><a href="/doc/sm.html" class="sidebar-item" aria-label="sm"><!--[--><!--]--> sm <!--[--><!--]--></a><!----></li><li><a href="/doc/stack.html" class="sidebar-item" aria-label="stack"><!--[--><!--]--> stack <!--[--><!--]--></a><!----></li><li><a href="/doc/stop.html" class="sidebar-item" aria-label="stop"><!--[--><!--]--> stop <!--[--><!--]--></a><!----></li><li><a href="/doc/sysenv.html" class="sidebar-item" aria-label="sysenv"><!--[--><!--]--> sysenv <!--[--><!--]--></a><!----></li><li><a href="/doc/sysprop.html" class="sidebar-item" aria-label="sysprop"><!--[--><!--]--> sysprop <!--[--><!--]--></a><!----></li><li><a href="/doc/tee.html" class="sidebar-item" aria-label="tee"><!--[--><!--]--> tee <!--[--><!--]--></a><!----></li><li><a href="/doc/thread.html" class="sidebar-item" aria-label="thread"><!--[--><!--]--> thread <!--[--><!--]--></a><!----></li><li><a href="/doc/trace.html" class="sidebar-item" aria-label="trace"><!--[--><!--]--> trace <!--[--><!--]--></a><!----></li><li><a href="/doc/tt.html" class="sidebar-item" aria-label="tt"><!--[--><!--]--> tt <!--[--><!--]--></a><!----></li><li><a href="/doc/version.html" class="sidebar-item" aria-label="version"><!--[--><!--]--> version <!--[--><!--]--></a><!----></li><li><a href="/doc/vmoption.html" class="sidebar-item" aria-label="vmoption"><!--[--><!--]--> vmoption <!--[--><!--]--></a><!----></li><li><a href="/doc/vmtool.html" class="sidebar-item" aria-label="vmtool"><!--[--><!--]--> vmtool <!--[--><!--]--></a><!----></li><li><a href="/doc/watch.html" class="sidebar-item" aria-label="watch"><!--[--><!--]--> watch <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a href="/doc/advanced-use.md" class="sidebar-item collapsible" aria-label="其他特性"><!--[--><!--]--> 其他特性 <!--[--><!--]--></a><ul style="display:none;" class="sidebar-item-children"><!--[--><li><a href="/doc/async.html" class="sidebar-item" aria-label="Arthas 后台异步任务"><!--[--><!--]--> Arthas 后台异步任务 <!--[--><!--]--></a><!----></li><li><a href="/doc/save-log.html" class="sidebar-item" aria-label="执行结果存日志"><!--[--><!--]--> 执行结果存日志 <!--[--><!--]--></a><!----></li><li><a href="/doc/docker.html" class="sidebar-item" aria-label="Docker"><!--[--><!--]--> Docker <!--[--><!--]--></a><!----></li><li><a href="/doc/web-console.html" class="sidebar-item" aria-label="Web Console"><!--[--><!--]--> Web Console <!--[--><!--]--></a><!----></li><li><a href="/doc/tunnel.html" class="sidebar-item" aria-label="Arthas Tunnel"><!--[--><!--]--> Arthas Tunnel <!--[--><!--]--></a><!----></li><li><a href="/doc/idea-plugin.html" class="sidebar-item" aria-label="IDEA Plugin"><!--[--><!--]--> IDEA Plugin <!--[--><!--]--></a><!----></li><li><a href="/doc/arthas-properties.html" class="sidebar-item" aria-label="Arthas Properties"><!--[--><!--]--> Arthas Properties <!--[--><!--]--></a><!----></li><li><a href="/doc/agent.html" class="sidebar-item" aria-label="以 Java Agent 的方式启动"><!--[--><!--]--> 以 Java Agent 的方式启动 <!--[--><!--]--></a><!----></li><li><a href="/doc/spring-boot-starter.html" class="sidebar-item" aria-label="Arthas Spring Boot Starter"><!--[--><!--]--> Arthas Spring Boot Starter <!--[--><!--]--></a><!----></li><li><a href="/doc/http-api.html" class="sidebar-item" aria-label="Http API"><!--[--><!--]--> Http API <!--[--><!--]--></a><!----></li><li><a href="/doc/batch-support.html" class="sidebar-item" aria-label="批处理功能"><!--[--><!--]--> 批处理功能 <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a aria-current="page" href="/doc/faq.html" class="router-link-active router-link-exact-active router-link-active sidebar-item active" aria-label="FAQ"><!--[--><!--]--> FAQ <!--[--><!--]--></a><!----></li><li><p tabindex="0" class="sidebar-item collapsible">专家答疑 <span class="right arrow"></span></p><ul style="display:none;" class="sidebar-item-children"><!--[--><li><a href="/doc/expert/intro.html" class="sidebar-item" aria-label="无疑 专家智能答疑 介绍"><!--[--><!--]--> 无疑 专家智能答疑 介绍 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11466.html" class="sidebar-item" aria-label="arthas 有没有在线教程?"><!--[--><!--]--> arthas 有没有在线教程? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12454.html" class="sidebar-item" aria-label="arthas 怎么查看内存情况?"><!--[--><!--]--> arthas 怎么查看内存情况? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13507.html" class="sidebar-item" aria-label="arthas查看内存占用大的地方"><!--[--><!--]--> arthas查看内存占用大的地方 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14832.html" class="sidebar-item" aria-label="arthas启动时内存溢出"><!--[--><!--]--> arthas启动时内存溢出 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15730.html" class="sidebar-item" aria-label="arthas 观察方法中的某个变量的值"><!--[--><!--]--> arthas 观察方法中的某个变量的值 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11440.html" class="sidebar-item" aria-label="arthas 怎么使用?"><!--[--><!--]--> arthas 怎么使用? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11467.html" class="sidebar-item" aria-label="arthas 在线教程在哪?"><!--[--><!--]--> arthas 在线教程在哪? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12455.html" class="sidebar-item" aria-label="arthas 排查内存泄露的具体方法"><!--[--><!--]--> arthas 排查内存泄露的具体方法 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13508.html" class="sidebar-item" aria-label="arthas 如何查看内存使用情况"><!--[--><!--]--> arthas 如何查看内存使用情况 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14833.html" class="sidebar-item" aria-label="Start arthas failed, exception stack trace:com.sun.tools.attach"><!--[--><!--]--> Start arthas failed, exception stack trace:com.sun.tools.attach <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15731.html" class="sidebar-item" aria-label="arthas 过滤方法的阐述"><!--[--><!--]--> arthas 过滤方法的阐述 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11442.html" class="sidebar-item" aria-label="arthas 介绍一下"><!--[--><!--]--> arthas 介绍一下 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11468.html" class="sidebar-item" aria-label="arthas 怎么使用?"><!--[--><!--]--> arthas 怎么使用? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12706.html" class="sidebar-item" aria-label="arthas 火焰图 怎么看?"><!--[--><!--]--> arthas 火焰图 怎么看? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13509.html" class="sidebar-item" aria-label="通过arthas怎样排查项目中,哪个对象泄露了,或者占用内存太大"><!--[--><!--]--> 通过arthas怎样排查项目中,哪个对象泄露了,或者占用内存太大 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14834.html" class="sidebar-item" aria-label="使用arthas 跟踪进程服务后,进程所占用的文件描述符陡增,且文件描述符不下降"><!--[--><!--]--> 使用arthas 跟踪进程服务后,进程所占用的文件描述符陡增,且文件描述符不下降 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15735.html" class="sidebar-item" aria-label="arthas报错connect to telnet server error: 127.0.0.1 9999"><!--[--><!--]--> arthas报错connect to telnet server error: 127.0.0.1 9999 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11443.html" class="sidebar-item" aria-label="arthas 下载和安装"><!--[--><!--]--> arthas 下载和安装 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11469.html" class="sidebar-item" aria-label="linux的arthas使用教程"><!--[--><!--]--> linux的arthas使用教程 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12715.html" class="sidebar-item" aria-label="java 如何用arthas 查看 内存 情况?"><!--[--><!--]--> java 如何用arthas 查看 内存 情况? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13510.html" class="sidebar-item" aria-label="查看实时jvm内存大小"><!--[--><!--]--> 查看实时jvm内存大小 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14840.html" class="sidebar-item" aria-label="Unsupported class file major version 61 using arthas 3.6.3"><!--[--><!--]--> Unsupported class file major version 61 using arthas 3.6.3 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15736.html" class="sidebar-item" aria-label="arthas 中jad参数"><!--[--><!--]--> arthas 中jad参数 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11444.html" class="sidebar-item" aria-label="arthas 命令解释"><!--[--><!--]--> arthas 命令解释 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11784.html" class="sidebar-item" aria-label="arthas使用的各类方式有哪些?"><!--[--><!--]--> arthas使用的各类方式有哪些? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12716.html" class="sidebar-item" aria-label="arthas 怎么查看堆内存太高"><!--[--><!--]--> arthas 怎么查看堆内存太高 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13511.html" class="sidebar-item" aria-label="arthas方法运行后查看成员变量"><!--[--><!--]--> arthas方法运行后查看成员变量 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14843.html" class="sidebar-item" aria-label="arthas 支持jdk 20么?"><!--[--><!--]--> arthas 支持jdk 20么? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15737.html" class="sidebar-item" aria-label="进程停了 arthas也会同步停止么?"><!--[--><!--]--> 进程停了 arthas也会同步停止么? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11450.html" class="sidebar-item" aria-label="arthas 分析thread线程卡住"><!--[--><!--]--> arthas 分析thread线程卡住 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11795.html" class="sidebar-item" aria-label="使用arthas查看成员变量值具体怎么做?"><!--[--><!--]--> 使用arthas查看成员变量值具体怎么做? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12740.html" class="sidebar-item" aria-label="arthas怎么分析cpu很高"><!--[--><!--]--> arthas怎么分析cpu很高 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13512.html" class="sidebar-item" aria-label="如何查看java内存增长哪些对象"><!--[--><!--]--> 如何查看java内存增长哪些对象 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15167.html" class="sidebar-item" aria-label="介绍一下arthas"><!--[--><!--]--> 介绍一下arthas <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15738.html" class="sidebar-item" aria-label="arthas如何查看hashmap的值"><!--[--><!--]--> arthas如何查看hashmap的值 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11451.html" class="sidebar-item" aria-label="arthas 怎么排查cpu占用过高?"><!--[--><!--]--> arthas 怎么排查cpu占用过高? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11809.html" class="sidebar-item" aria-label="linux下的arthas 具体怎么用?(使用教程)"><!--[--><!--]--> linux下的arthas 具体怎么用?(使用教程) <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12741.html" class="sidebar-item" aria-label="如何使用arthas查看系统哪个地方内存占用过大"><!--[--><!--]--> 如何使用arthas查看系统哪个地方内存占用过大 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13513.html" class="sidebar-item" aria-label="arthas 监听成员变量值的方法是什么?"><!--[--><!--]--> arthas 监听成员变量值的方法是什么? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15543.html" class="sidebar-item" aria-label="arthas中tt命令如何查看方法入参的具体命令"><!--[--><!--]--> arthas中tt命令如何查看方法入参的具体命令 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15739.html" class="sidebar-item" aria-label="arthas可以监听私有方法吗"><!--[--><!--]--> arthas可以监听私有方法吗 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11452.html" class="sidebar-item" aria-label="arthas 查看方法耗时"><!--[--><!--]--> arthas 查看方法耗时 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11810.html" class="sidebar-item" aria-label="arthas查看方法耗时"><!--[--><!--]--> arthas查看方法耗时 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13448.html" class="sidebar-item" aria-label="如何使用arthas分析慢查询"><!--[--><!--]--> 如何使用arthas分析慢查询 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13522.html" class="sidebar-item" aria-label="Connect to telnet server error: 127.0.0.1 3658"><!--[--><!--]--> Connect to telnet server error: 127.0.0.1 3658 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15726.html" class="sidebar-item" aria-label="arthas 如何查询static变量"><!--[--><!--]--> arthas 如何查询static变量 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15740.html" class="sidebar-item" aria-label="arthas 分析内存升高的方法"><!--[--><!--]--> arthas 分析内存升高的方法 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11453.html" class="sidebar-item" aria-label="arthas 怎样查看方法耗时"><!--[--><!--]--> arthas 怎样查看方法耗时 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11814.html" class="sidebar-item" aria-label="arthas 怎么排查内存泄漏"><!--[--><!--]--> arthas 怎么排查内存泄漏 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13504.html" class="sidebar-item" aria-label="如何查看实时jvm内存大小占用"><!--[--><!--]--> 如何查看实时jvm内存大小占用 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14763.html" class="sidebar-item" aria-label="利用Arthas排查NoSuchMethodError"><!--[--><!--]--> 利用Arthas排查NoSuchMethodError <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15728.html" class="sidebar-item" aria-label="arthas 获取成员变量"><!--[--><!--]--> arthas 获取成员变量 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history11454.html" class="sidebar-item" aria-label="arthas 常用命令介绍"><!--[--><!--]--> arthas 常用命令介绍 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history12453.html" class="sidebar-item" aria-label="arthas 怎么查看内存情况?"><!--[--><!--]--> arthas 怎么查看内存情况? <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history13506.html" class="sidebar-item" aria-label="如何查看java内存增长哪些对象"><!--[--><!--]--> 如何查看java内存增长哪些对象 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history14831.html" class="sidebar-item" aria-label="Dashboard 命令cpuUsage长期在90%左右"><!--[--><!--]--> Dashboard 命令cpuUsage长期在90%左右 <!--[--><!--]--></a><!----></li><li><a href="/doc/expert/user-question-history15729.html" class="sidebar-item" aria-label="arthas 怎么查看变量内容"><!--[--><!--]--> arthas 怎么查看变量内容 <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a class="external-link sidebar-item" href="https://github.com/alibaba/arthas/issues?q=label%3Auser-case" rel="noopener noreferrer" target="_blank" aria-label="用户案例"><!--[--><!--]--><span>用户案例</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a><!----></li><li><a class="external-link sidebar-item" href="https://github.com/alibaba/arthas" rel="noopener noreferrer" target="_blank" aria-label="Star me at github"><!--[--><!--]--><span>Star me at github</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a><!----></li><li><a class="external-link sidebar-item" href="https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md" rel="noopener noreferrer" target="_blank" aria-label="编译调试/参与贡献"><!--[--><!--]--><span>编译调试/参与贡献</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a><!----></li><li><a class="external-link sidebar-item" href="https://github.com/alibaba/arthas/releases" rel="noopener noreferrer" target="_blank" aria-label="Release Notes"><!--[--><!--]--><span>Release Notes</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a><!----></li><li><a href="/doc/contact-us.md" class="sidebar-item" aria-label="QQ 群/钉钉群"><!--[--><!--]--> QQ 群/钉钉群 <!--[--><!--]--></a><!----></li><!--]--></ul></li><!--]--></ul><!--[--><!--]--></aside><!--]--><!--[--><main class="page" data-v-fdd717e0><!--[--><!--]--><div class="right-menu-padding theme-default-content" data-v-fdd717e0><!--[--><!--]--><div class="right-menu-wrapper" data-v-fdd717e0 data-v-64666cd5><div class="right-menu-margin" data-v-64666cd5><div class="right-menu-title" data-v-64666cd5>目录</div><div class="right-menu-content" data-v-64666cd5><!--[--><!--]--></div></div></div><div data-v-fdd717e0><h1 id="faq" tabindex="-1"><a class="header-anchor" href="#faq" aria-hidden="true">#</a> FAQ</h1><div class="custom-container tip"><p class="custom-container-title">提示</p><p>不在本列表里的问题,请到 issue 里搜索。 <a href="https://github.com/alibaba/arthas/issues" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></p></div><h3 id="日志文件在哪里" tabindex="-1"><a class="header-anchor" href="#日志文件在哪里" aria-hidden="true">#</a> 日志文件在哪里?</h3><p>日志文件路径: <code>~/logs/arthas/arthas.log</code></p><h3 id="telnet-connect-to-address-127-0-0-1-connection-refused" tabindex="-1"><a class="header-anchor" href="#telnet-connect-to-address-127-0-0-1-connection-refused" aria-hidden="true">#</a> telnet: connect to address 127.0.0.1: Connection refused</h3><ol><li>检查日志 <code>~/logs/arthas/arthas.log</code></li><li>检查<code>as.sh</code>/<code>arthas-boot.jar</code> 的启动参数,是否指定了特定的<code>port</code></li><li>用<code>netstat</code> 检查<code>LISTEN 3658</code> 端口的进程,确认它是<code>java</code>进程,并且是想要诊断的进程</li><li>如果<code>LISTEN 3658</code> 端口的进程不是 <code>java</code> 进程,则<code>3658</code>端口已经被占用。需要在<code>as.sh</code>/<code>arthas-boot.jar</code> 的启动参数指定其它端口。</li><li>确认进程和端口后,尝试用<code>telnet 127.0.0.1 3658</code>去连接</li></ol><p>本质上<code>arthas</code>会在应用java进程内启动一个<code>tcp server</code>,然后使用<code>telnet</code>去连接它。</p><ol><li>可能端口不匹配</li><li>可能进程本身已经挂起,不能接受新连接</li></ol><p>如果Arthas 日志里有 <code>Arthas server already bind.</code></p><ol><li>说明<code>Arthas server</code>曾经启动过,检查目标进程打开的文件描述符。如果是<code>linux</code>环境,可以去 <code>/proc/$pid/fd</code> 下面,使用<code>ls -alh | grep arthas</code>,检查进程是否已加载<code>arthas</code>相关的 jar 包。</li><li>如果没有,那么可能已启动<code>arthas</code>的是其它进程,也可能应用已经重启过了。</li></ol><h3 id="arthas-attach-之后对原进程性能有多大的影响" tabindex="-1"><a class="header-anchor" href="#arthas-attach-之后对原进程性能有多大的影响" aria-hidden="true">#</a> Arthas attach 之后对原进程性能有多大的影响</h3><p><a href="https://github.com/alibaba/arthas/issues/44" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/44<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></p><h3 id="target-process-not-responding-or-hotspot-vm-not-loaded" tabindex="-1"><a class="header-anchor" href="#target-process-not-responding-or-hotspot-vm-not-loaded" aria-hidden="true">#</a> target process not responding or HotSpot VM not loaded</h3><p>com.sun.tools.attach.AttachNotSupportedException: Unable to open socket file: target process not responding or HotSpot VM not loaded</p><ol><li>检查当前用户和目标 java 进程是否一致。如果不一致,则切换到同一用户。JVM 只能 attach 同样用户下的 java 进程。</li><li>尝试使用 <code>jstack -l $pid</code>,如果进程没有反应,则说明进程可能假死,无法响应 JVM attach 信号。所以同样基于 attach 机制的 Arthas 无法工作。尝试使用<code>jmap</code> heapdump 后分析。</li><li>尝试按<a href="/doc/quick-start.html" class="">quick-start</a>里的方式 attach math-game。</li><li>更多情况参考: <a href="https://github.com/alibaba/arthas/issues/347" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/347<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></li></ol><h3 id="trace-watch-等命令能否增强-jdk-里的类" tabindex="-1"><a class="header-anchor" href="#trace-watch-等命令能否增强-jdk-里的类" aria-hidden="true">#</a> trace/watch 等命令能否增强 jdk 里的类?</h3><p>默认情况下会过滤掉<code>java.</code>开头的类和被<code>BootStrap ClassLoader</code>加载的类。可以通过参数开启。</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>options unsafe <span class="token boolean">true</span>
|
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>更多参考 <a href="/doc/options.html" class="">options</a></p><div class="custom-container tip"><p class="custom-container-title">提示</p><p>通过 java.lang.instrument.Instrumentation#appendToBootstrapClassLoaderSearch append 到<code>Bootstrap ClassLoader</code>的 jar 包需要开启 unsafe。</p></div><h3 id="怎么以json格式查看结果" tabindex="-1"><a class="header-anchor" href="#怎么以json格式查看结果" aria-hidden="true">#</a> 怎么以<code>json</code>格式查看结果</h3><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>options json-format <span class="token boolean">true</span>
|
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><p>更多参考 <a href="/doc/options.html" class="">options</a></p><h3 id="arthas-能否跟踪-native-函数" tabindex="-1"><a class="header-anchor" href="#arthas-能否跟踪-native-函数" aria-hidden="true">#</a> Arthas 能否跟踪 native 函数</h3><p>不能。</p><h3 id="能不能查看内存里某个变量的值" tabindex="-1"><a class="header-anchor" href="#能不能查看内存里某个变量的值" aria-hidden="true">#</a> 能不能查看内存里某个变量的值</h3><ol><li>可以使用<a href="/doc/vmtool.html" class=""><code>vmtool</code></a>命令。</li><li>可以用一些技巧,用<a href="/doc/tt.html" class=""><code>tt</code></a>命令拦截到对象,或者从静态函数里取到对象。</li></ol><h3 id="方法同名过滤" tabindex="-1"><a class="header-anchor" href="#方法同名过滤" aria-hidden="true">#</a> 方法同名过滤</h3><p>同名方法过滤可以通过匹配表达式,可以使用<a href="/doc/advice-class.html" class="">表达式核心变量</a>中所有变量作为已知条件,可以通过判断参数个数<code>params.length ==1</code>, 参数类型<code>params[0] instanceof java.lang.Integer</code>、返回值类型 <code>returnObj instanceof java.util.List</code> 等等一种或者多种组合进行过滤。</p><p>可以使用 <code>-v</code> 查看观察匹配表达式的执行结果 <a href="https://github.com/alibaba/arthas/issues/1348" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/1348<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></p><p>例子<a href="/doc/quick-start.html" class="">math-game</a></p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">watch</span> demo.MathGame primeFactors <span class="token string">'{params,returnObj,throwExp}'</span> <span class="token string">'params.length >0 && returnObj instanceof java.util.List'</span> <span class="token parameter variable">-v</span>
|
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="怎么-watch、trace-构造函数" tabindex="-1"><a class="header-anchor" href="#怎么-watch、trace-构造函数" aria-hidden="true">#</a> 怎么 watch、trace 构造函数 ?</h3><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">watch</span> demo.MathGame <span class="token operator"><</span>init<span class="token operator">></span> <span class="token string">'{params,returnObj,throwExp}'</span> <span class="token parameter variable">-v</span>
|
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="怎样-watch、trace-内部类" tabindex="-1"><a class="header-anchor" href="#怎样-watch、trace-内部类" aria-hidden="true">#</a> 怎样 watch、trace 内部类?</h3><p>在 JVM 规范里内部类的格式是<code>OuterClass$InnerClass</code>。</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">watch</span> OuterClass<span class="token variable">$InnerClass</span>
|
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="是否支持-watch、trace-lambda-类" tabindex="-1"><a class="header-anchor" href="#是否支持-watch、trace-lambda-类" aria-hidden="true">#</a> 是否支持 watch、trace lambda 类?</h3><p>对于lambda生成的类,会跳过处理,因为 JVM 本身限制对 lambda 生成的类做增强。</p><ul><li><a href="https://github.com/alibaba/arthas/issues/1225" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/1225<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></li></ul><h3 id="输入中文-unicode-字符" tabindex="-1"><a class="header-anchor" href="#输入中文-unicode-字符" aria-hidden="true">#</a> 输入中文/Unicode 字符</h3><p>把中文/Unicode 字符转为<code>\u</code>表示方法:</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>ognl <span class="token string">'@java.lang.System@out.println("Hello \u4e2d\u6587")'</span>
|
|
|
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="java-lang-classformaterror-null、skywalking-arthas-兼容使用" tabindex="-1"><a class="header-anchor" href="#java-lang-classformaterror-null、skywalking-arthas-兼容使用" aria-hidden="true">#</a> java.lang.ClassFormatError: null、skywalking arthas 兼容使用</h3><p>当出现这个错误日志<code>java.lang.ClassFormatError: null</code>,通常情况下都是被其他字节码工具修改过与 arthas 修改字节码不兼容。</p><p>比如: 使用 skywalking V8.1.0 以下版本 <a href="https://github.com/alibaba/arthas/issues/1141" target="_blank" rel="noopener noreferrer">无法 trace、watch 被 skywalking agent 增强过的类<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a>, V8.1.0 以上版本可以兼容使用,更多参考 skywalking 配置 <a href="https://github.com/apache/skywalking/blob/master/docs/en/FAQ/Compatible-with-other-javaagent-bytecode-processing.md#" target="_blank" rel="noopener noreferrer">skywalking compatible with other javaagent bytecode processing<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a>。</p><h4 id="class-redefinition-failed-attempted-to-change-the-schema-add-remove-fields" tabindex="-1"><a class="header-anchor" href="#class-redefinition-failed-attempted-to-change-the-schema-add-remove-fields" aria-hidden="true">#</a> class redefinition failed: attempted to change the schema (add/remove fields)</h4><p>参考: <a href="https://github.com/alibaba/arthas/issues/2165" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/2165<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></p><h3 id="arthas-能不能离线使用" tabindex="-1"><a class="header-anchor" href="#arthas-能不能离线使用" aria-hidden="true">#</a> Arthas 能不能离线使用</h3><p>可以。下载全量包解压即可,参考: <a href="/doc/download.html" class="">下载</a>。</p><h3 id="arthas-怎么使用指定版本-不使用自动升级版本" tabindex="-1"><a class="header-anchor" href="#arthas-怎么使用指定版本-不使用自动升级版本" aria-hidden="true">#</a> Arthas 怎么使用指定版本,不使用自动升级版本</h3><ol><li>启动 <code>as.sh</code>/<code>arthas-boot.jar</code>时,可以用 <code>--use-version</code> 参数指定。</li><li>下载全量包,解压后,<code>cd</code>到arthas目录启动,这种情况会使用当前目录下的版本。</li></ol><h3 id="attach-docker-k8s-里的-pid-为-1-的进程失败" tabindex="-1"><a class="header-anchor" href="#attach-docker-k8s-里的-pid-为-1-的进程失败" aria-hidden="true">#</a> Attach docker/k8s 里的 pid 为 1 的进程失败</h3><p>参考: <a href="https://github.com/alibaba/arthas/issues/362#issuecomment-448185416" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/362#issuecomment-448185416<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></p><h3 id="为什么下载了新版本的-arthas-连接的却是旧版本" tabindex="-1"><a class="header-anchor" href="#为什么下载了新版本的-arthas-连接的却是旧版本" aria-hidden="true">#</a> 为什么下载了新版本的 Arthas,连接的却是旧版本?</h3><p>比如启动的 <code>as.sh/arthas-boot.jar</code> 版本是 3.5._ 的,但是连接上之后,打印的 arthas 版本是 3.4._ 的。</p><p>可能是之前使用旧版本的 arthas 诊断过目标进程。可以先执行<code>stop</code>停止掉旧版本的 arthas,再重新使用新版本 attach。</p><h3 id="在ognl表达式中获取到-spring-bean-cglib-对象-但是-field-是-null" tabindex="-1"><a class="header-anchor" href="#在ognl表达式中获取到-spring-bean-cglib-对象-但是-field-是-null" aria-hidden="true">#</a> 在ognl表达式中获取到 spring bean cglib 对象,但是 field 是 null</h3><p>参考:</p><ul><li><a href="https://github.com/alibaba/arthas/issues/1802" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/1802<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></li><li><a href="https://github.com/alibaba/arthas/issues/1424" target="_blank" rel="noopener noreferrer">https://github.com/alibaba/arthas/issues/1424<span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span></a></li></ul></div><!--[--><!--]--></div><footer class="page-meta right-menu-padding" data-v-fdd717e0><div class="meta-item edit-link"><a class="external-link meta-item-label" href="https://github.com/alibaba/arthas/edit/master/site/docs/doc/faq.md" rel="noopener noreferrer" target="_blank" aria-label="在 GitHub 上编辑此页"><!--[--><!--]--><span>在 GitHub 上编辑此页</span><span><svg class="external-link-icon" xmlns="http://www.w3.org/2000/svg" aria-hidden="true" focusable="false" x="0px" y="0px" viewbox="0 0 100 100" width="15" height="15"><path fill="currentColor" d="M18.8,85.1h56l0,0c2.2,0,4-1.8,4-4v-32h-8v28h-48v-48h28v-8h-32l0,0c-2.2,0-4,1.8-4,4v56C14.8,83.3,16.6,85.1,18.8,85.1z"></path><polygon fill="currentColor" points="45.7,48.7 51.3,54.3 77.2,28.5 77.2,37.2 85.2,37.2 85.2,14.9 62.8,14.9 62.8,22.9 71.5,22.9"></polygon></svg><span class="external-link-icon-sr-only">在新窗口打开</span></span><!--[--><!--]--></a></div><div class="meta-item last-updated"><span class="meta-item-label">Last Updated: </span><!----></div><div class="meta-item contributors"><span class="meta-item-label">贡献者: </span><span class="meta-item-info"><!--[--><!--[--><span class="contributor" title="email: hengyunabc@gmail.com">hengyunabc</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: hengyunabc@users.noreply.github.com">hengyunabc</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: 983433479@qq.com">汪吉</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: i@fatpandac.com">Fatpandac</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: kylixs@qq.com">Gong Dewei</span><!----><!--]--><!--]--></span></div></footer><nav class="page-nav right-menu-padding" data-v-fdd717e0><p class="inner"><span class="prev"><a href="/doc/advanced-use.md" class="" aria-label="其他特性"><!--[--><!--]--> 其他特性 <!--[--><!--]--></a></span><!----></p></nav><!--[--><!--]--></main><!--]--></div><!----><!--]--></div>
|
|
|
<script type="module" src="/assets/app.1e03d722.js" defer></script>
|
|
|
</body>
|
|
|
</html>
|