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.
arthas/en/doc/start-arthas.html

59 lines
65 KiB
HTML

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<!DOCTYPE html>
<html lang="en-US">
<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>Start Arthas | arthas</title><meta name="description" content="arthas user document">
<link rel="modulepreload" href="/assets/app.1e03d722.js"><link rel="modulepreload" href="/assets/start-arthas.html.60cee49c.js"><link rel="modulepreload" href="/assets/start-arthas.html.0ad01ebc.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/faq.html.8152a298.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/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/faq.html.6c1321f8.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/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="toggle sidebar" aria-expanded="false" role="button" tabindex="0"><div class="icon" aria-hidden="true"><span></span><span></span><span></span></div></div><span><a href="/en/" 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="/en/" class="" aria-label="HOME"><!--[--><!--]--> HOME <!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="/doc/arthas-tutorials.html?language=en&amp;id=arthas-basics" rel="noopener noreferrer" target="_blank" aria-label="ONLINE TUTORIALS"><!--[--><!--]--><span>ONLINE TUTORIALS</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">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a href="/en/doc" class="router-link-active" aria-label="DOCS"><!--[--><!--]--> DOCS <!--[--><!--]--></a></div><div class="navbar-item"><a href="/en/doc/commands.md" class="" aria-label="COMMANDS"><!--[--><!--]--> COMMANDS <!--[--><!--]--></a></div><div class="navbar-item"><a href="/en/doc/download.md" class="" aria-label="DOWNLOAD"><!--[--><!--]--> DOWNLOAD <!--[--><!--]--></a></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="VERSIONS"><span class="title">VERSIONS</span><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="VERSIONS"><span class="title">VERSIONS</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/en/" 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">open in new window</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 href="/doc/start-arthas.html" class="" aria-label="简体中文"><!--[--><!--]--> 简体中文 <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a aria-current="page" href="/en/doc/start-arthas.html" class="router-link-active router-link-exact-active router-link-active" 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="toggle color mode"><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="/en/" class="" aria-label="HOME"><!--[--><!--]--> HOME <!--[--><!--]--></a></div><div class="navbar-item"><a class="external-link" href="/doc/arthas-tutorials.html?language=en&amp;id=arthas-basics" rel="noopener noreferrer" target="_blank" aria-label="ONLINE TUTORIALS"><!--[--><!--]--><span>ONLINE TUTORIALS</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">open in new window</span></span><!--[--><!--]--></a></div><div class="navbar-item"><a href="/en/doc" class="router-link-active" aria-label="DOCS"><!--[--><!--]--> DOCS <!--[--><!--]--></a></div><div class="navbar-item"><a href="/en/doc/commands.md" class="" aria-label="COMMANDS"><!--[--><!--]--> COMMANDS <!--[--><!--]--></a></div><div class="navbar-item"><a href="/en/doc/download.md" class="" aria-label="DOWNLOAD"><!--[--><!--]--> DOWNLOAD <!--[--><!--]--></a></div><div class="navbar-item"><div class="navbar-dropdown-wrapper"><button class="navbar-dropdown-title" type="button" aria-label="VERSIONS"><span class="title">VERSIONS</span><span class="arrow down"></span></button><button class="navbar-dropdown-title-mobile" type="button" aria-label="VERSIONS"><span class="title">VERSIONS</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/en/" 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">open in new window</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 href="/doc/start-arthas.html" class="" aria-label="简体中文"><!--[--><!--]--> 简体中文 <!--[--><!--]--></a></li><li class="navbar-dropdown-item"><a aria-current="page" href="/en/doc/start-arthas.html" class="router-link-active router-link-exact-active router-link-active" 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">DOCS <!----></p><ul style="" class="sidebar-item-children"><!--[--><li><a href="/en/doc/" class="router-link-active sidebar-item" aria-label="Introduction"><!--[--><!--]--> Introduction <!--[--><!--]--></a><!----></li><li><a href="/en/doc/quick-start.html" class="sidebar-item" aria-label="Quick Start"><!--[--><!--]--> Quick Start <!--[--><!--]--></a><!----></li><li><a href="/en/doc/install-detail.html" class="sidebar-item" aria-label="Install Arthas"><!--[--><!--]--> Install Arthas <!--[--><!--]--></a><!----></li><li><a href="/en/doc/download.html" class="sidebar-item" aria-label="Download"><!--[--><!--]--> Download <!--[--><!--]--></a><!----></li><li><a href="/en/doc/advice-class.html" class="sidebar-item" aria-label="Fundamental Fields in Expressions"><!--[--><!--]--> Fundamental Fields in Expressions <!--[--><!--]--></a><!----></li><li><a href="/en/doc/commands.md" class="sidebar-item collapsible" aria-label="All Commands"><!--[--><!--]--> All Commands <!--[--><!--]--></a><ul style="display:none;" class="sidebar-item-children"><!--[--><li><a href="/en/doc/auth.html" class="sidebar-item" aria-label="auth"><!--[--><!--]--> auth <!--[--><!--]--></a><!----></li><li><a href="/en/doc/base64.html" class="sidebar-item" aria-label="base64"><!--[--><!--]--> base64 <!--[--><!--]--></a><!----></li><li><a href="/en/doc/cat.html" class="sidebar-item" aria-label="cat"><!--[--><!--]--> cat <!--[--><!--]--></a><!----></li><li><a href="/en/doc/classloader.html" class="sidebar-item" aria-label="classloader"><!--[--><!--]--> classloader <!--[--><!--]--></a><!----></li><li><a href="/en/doc/cls.html" class="sidebar-item" aria-label="cls"><!--[--><!--]--> cls <!--[--><!--]--></a><!----></li><li><a href="/en/doc/dashboard.html" class="sidebar-item" aria-label="dashboard"><!--[--><!--]--> dashboard <!--[--><!--]--></a><!----></li><li><a href="/en/doc/dump.html" class="sidebar-item" aria-label="dump"><!--[--><!--]--> dump <!--[--><!--]--></a><!----></li><li><a href="/en/doc/echo.html" class="sidebar-item" aria-label="echo"><!--[--><!--]--> echo <!--[--><!--]--></a><!----></li><li><a href="/en/doc/getstatic.html" class="sidebar-item" aria-label="getstatic"><!--[--><!--]--> getstatic <!--[--><!--]--></a><!----></li><li><a href="/en/doc/grep.html" class="sidebar-item" aria-label="grep"><!--[--><!--]--> grep <!--[--><!--]--></a><!----></li><li><a href="/en/doc/heapdump.html" class="sidebar-item" aria-label="heapdump"><!--[--><!--]--> heapdump <!--[--><!--]--></a><!----></li><li><a href="/en/doc/help.html" class="sidebar-item" aria-label="help"><!--[--><!--]--> help <!--[--><!--]--></a><!----></li><li><a href="/en/doc/history.html" class="sidebar-item" aria-label="history"><!--[--><!--]--> history <!--[--><!--]--></a><!----></li><li><a href="/en/doc/jad.html" class="sidebar-item" aria-label="jad"><!--[--><!--]--> jad <!--[--><!--]--></a><!----></li><li><a href="/en/doc/jfr.html" class="sidebar-item" aria-label="jfr"><!--[--><!--]--> jfr <!--[--><!--]--></a><!----></li><li><a href="/en/doc/jvm.html" class="sidebar-item" aria-label="jvm"><!--[--><!--]--> jvm <!--[--><!--]--></a><!----></li><li><a href="/en/doc/keymap.html" class="sidebar-item" aria-label="keymap"><!--[--><!--]--> keymap <!--[--><!--]--></a><!----></li><li><a href="/en/doc/logger.html" class="sidebar-item" aria-label="logger"><!--[--><!--]--> logger <!--[--><!--]--></a><!----></li><li><a href="/en/doc/mbean.html" class="sidebar-item" aria-label="mbean"><!--[--><!--]--> mbean <!--[--><!--]--></a><!----></li><li><a href="/en/doc/mc.html" class="sidebar-item" aria-label="mc"><!--[--><!--]--> mc <!--[--><!--]--></a><!----></li><li><a href="/en/doc/memory.html" class="sidebar-item" aria-label="memory"><!--[--><!--]--> memory <!--[--><!--]--></a><!----></li><li><a href="/en/doc/monitor.html" class="sidebar-item" aria-label="monitor"><!--[--><!--]--> monitor <!--[--><!--]--></a><!----></li><li><a href="/en/doc/ognl.html" class="sidebar-item" aria-label="ognl"><!--[--><!--]--> ognl <!--[--><!--]--></a><!----></li><li><a href="/en/doc/options.html" class="sidebar-item" aria-label="options"><!--[--><!--]--> options <!--[--><!--]--></a><!----></li><li><a href="/en/doc/perfcounter.html" class="sidebar-item" aria-label="perfcounter"><!--[--><!--]--> perfcounter <!--[--><!--]--></a><!----></li><li><a href="/en/doc/profiler.html" class="sidebar-item" aria-label="profiler"><!--[--><!--]--> profiler <!--[--><!--]--></a><!----></li><li><a href="/en/doc/pwd.html" class="sidebar-item" aria-label="pwd"><!--[--><!--]--> pwd <!--[--><!--]--></a><!----></li><li><a href="/en/doc/quit.html" class="sidebar-item" aria-label="quit"><!--[--><!--]--> quit <!--[--><!--]--></a><!----></li><li><a href="/en/doc/redefine.html" class="sidebar-item" aria-label="redefine"><!--[--><!--]--> redefine <!--[--><!--]--></a><!----></li><li><a href="/en/doc/reset.html" class="sidebar-item" aria-label="reset"><!--[--><!--]--> reset <!--[--><!--]--></a><!----></li><li><a href="/en/doc/retransform.html" class="sidebar-item" aria-label="retransform"><!--[--><!--]--> retransform <!--[--><!--]--></a><!----></li><li><a href="/en/doc/sc.html" class="sidebar-item" aria-label="sc"><!--[--><!--]--> sc <!--[--><!--]--></a><!----></li><li><a href="/en/doc/session.html" class="sidebar-item" aria-label="session"><!--[--><!--]--> session <!--[--><!--]--></a><!----></li><li><a href="/en/doc/sm.html" class="sidebar-item" aria-label="sm"><!--[--><!--]--> sm <!--[--><!--]--></a><!----></li><li><a href="/en/doc/stack.html" class="sidebar-item" aria-label="stack"><!--[--><!--]--> stack <!--[--><!--]--></a><!----></li><li><a href="/en/doc/stop.html" class="sidebar-item" aria-label="stop"><!--[--><!--]--> stop <!--[--><!--]--></a><!----></li><li><a href="/en/doc/sysenv.html" class="sidebar-item" aria-label="sysenv"><!--[--><!--]--> sysenv <!--[--><!--]--></a><!----></li><li><a href="/en/doc/sysprop.html" class="sidebar-item" aria-label="sysprop"><!--[--><!--]--> sysprop <!--[--><!--]--></a><!----></li><li><a href="/en/doc/tee.html" class="sidebar-item" aria-label="tee"><!--[--><!--]--> tee <!--[--><!--]--></a><!----></li><li><a href="/en/doc/thread.html" class="sidebar-item" aria-label="thread"><!--[--><!--]--> thread <!--[--><!--]--></a><!----></li><li><a href="/en/doc/trace.html" class="sidebar-item" aria-label="trace"><!--[--><!--]--> trace <!--[--><!--]--></a><!----></li><li><a href="/en/doc/tt.html" class="sidebar-item" aria-label="tt"><!--[--><!--]--> tt <!--[--><!--]--></a><!----></li><li><a href="/en/doc/version.html" class="sidebar-item" aria-label="version"><!--[--><!--]--> version <!--[--><!--]--></a><!----></li><li><a href="/en/doc/vmoption.html" class="sidebar-item" aria-label="vmoption"><!--[--><!--]--> vmoption <!--[--><!--]--></a><!----></li><li><a href="/en/doc/vmtool.html" class="sidebar-item" aria-label="vmtool"><!--[--><!--]--> vmtool <!--[--><!--]--></a><!----></li><li><a href="/en/doc/watch.html" class="sidebar-item" aria-label="watch"><!--[--><!--]--> watch <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a href="/en/doc/advanced-use.md" class="sidebar-item collapsible" aria-label="Other features"><!--[--><!--]--> Other features <!--[--><!--]--></a><ul style="display:none;" class="sidebar-item-children"><!--[--><li><a href="/en/doc/async.html" class="sidebar-item" aria-label="Arthas Async Jobs"><!--[--><!--]--> Arthas Async Jobs <!--[--><!--]--></a><!----></li><li><a href="/en/doc/save-log.html" class="sidebar-item" aria-label="Log command outputs"><!--[--><!--]--> Log command outputs <!--[--><!--]--></a><!----></li><li><a href="/en/doc/docker.html" class="sidebar-item" aria-label="Docker"><!--[--><!--]--> Docker <!--[--><!--]--></a><!----></li><li><a href="/en/doc/web-console.html" class="sidebar-item" aria-label="Web Console"><!--[--><!--]--> Web Console <!--[--><!--]--></a><!----></li><li><a href="/en/doc/tunnel.html" class="sidebar-item" aria-label="Arthas Tunnel"><!--[--><!--]--> Arthas Tunnel <!--[--><!--]--></a><!----></li><li><a href="/en/doc/idea-plugin.html" class="sidebar-item" aria-label="IDEA Plugin"><!--[--><!--]--> IDEA Plugin <!--[--><!--]--></a><!----></li><li><a href="/en/doc/arthas-properties.html" class="sidebar-item" aria-label="Arthas Properties"><!--[--><!--]--> Arthas Properties <!--[--><!--]--></a><!----></li><li><a href="/en/doc/agent.html" class="sidebar-item" aria-label="Start as a Java Agent"><!--[--><!--]--> Start as a Java Agent <!--[--><!--]--></a><!----></li><li><a href="/en/doc/spring-boot-starter.html" class="sidebar-item" aria-label="Arthas Spring Boot Starter"><!--[--><!--]--> Arthas Spring Boot Starter <!--[--><!--]--></a><!----></li><li><a href="/en/doc/http-api.html" class="sidebar-item" aria-label="Http API"><!--[--><!--]--> Http API <!--[--><!--]--></a><!----></li><li><a href="/en/doc/batch-support.html" class="sidebar-item" aria-label="Batch Processing"><!--[--><!--]--> Batch Processing <!--[--><!--]--></a><!----></li><!--]--></ul></li><li><a href="/en/doc/faq.html" class="sidebar-item" aria-label="FAQ"><!--[--><!--]--> FAQ <!--[--><!--]--></a><!----></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="User cases"><!--[--><!--]--><span>User cases</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">open in new window</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">open in new window</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="Compile and debug/CONTRIBUTING"><!--[--><!--]--><span>Compile and debug/CONTRIBUTING</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">open in new window</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">open in new window</span></span><!--[--><!--]--></a><!----></li><li><a href="/en/doc/contact-us.md" class="sidebar-item" aria-label="Contact us"><!--[--><!--]--> Contact us <!--[--><!--]--></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>Table of Contents</div><div class="right-menu-content" data-v-64666cd5><!--[--><!--]--></div></div></div><div data-v-fdd717e0><h1 id="start-arthas" tabindex="-1"><a class="header-anchor" href="#start-arthas" aria-hidden="true">#</a> Start Arthas</h1><h2 id="interactive-mode" tabindex="-1"><a class="header-anchor" href="#interactive-mode" aria-hidden="true">#</a> Interactive Mode</h2><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>./as.sh
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>➜ bin git:<span class="token punctuation">(</span>develop<span class="token punctuation">)</span> ✗ ./as.sh
Found existing <span class="token function">java</span> process, please choose one and input the serial number of the process, eg <span class="token builtin class-name">:</span> <span class="token number">1</span>. Then hit ENTER.
<span class="token punctuation">[</span><span class="token number">1</span><span class="token punctuation">]</span>: <span class="token number">3088</span> org.jetbrains.idea.maven.server.RemoteMavenServer
* <span class="token punctuation">[</span><span class="token number">2</span><span class="token punctuation">]</span>: <span class="token number">12872</span> org.apache.catalina.startup.Bootstrap
<span class="token punctuation">[</span><span class="token number">3</span><span class="token punctuation">]</span>: <span class="token number">2455</span>
Attaching to <span class="token number">12872</span><span class="token punctuation">..</span>.
,---. ,------. ,--------.,--. ,--. ,---. ,---.
/ O <span class="token punctuation">\</span> <span class="token operator">|</span> .--. <span class="token string">&#39;&#39;</span>--. .--<span class="token string">&#39;| &#39;</span>--<span class="token string">&#39; | / O \ &#39;</span> .-<span class="token string">&#39;
| .-. || &#39;</span>--<span class="token string">&#39;.&#39;</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">|</span> .--. <span class="token operator">||</span> .-. <span class="token operator">|</span><span class="token variable"><span class="token variable">`</span><span class="token builtin class-name">.</span> <span class="token variable">`</span></span>-.
<span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">||</span> <span class="token operator">|</span><span class="token punctuation">\</span> <span class="token punctuation">\</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">||</span> <span class="token operator">|</span> <span class="token operator">|</span> <span class="token operator">|</span>.-<span class="token string">&#39; |
`--&#39;</span> <span class="token variable"><span class="token variable">`</span>--&#39;<span class="token variable">`</span></span>--<span class="token string">&#39; &#39;</span>--<span class="token string">&#39; `--&#39;</span> <span class="token variable"><span class="token variable">`</span>--&#39; <span class="token variable">`</span></span>--<span class="token string">&#39;`--&#39;</span> <span class="token variable"><span class="token variable">`</span>--&#39;<span class="token variable">`</span></span>-----&#39;
$
</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 class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div><div class="line-number"></div></div></div><h2 id="non-interactive-mode" tabindex="-1"><a class="header-anchor" href="#non-interactive-mode" aria-hidden="true">#</a> Non-Interactive Mode</h2><p>Startup script is as follows:</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>./as.sh <span class="token operator">&lt;</span>PID<span class="token operator">&gt;</span><span class="token punctuation">[</span>@IP:PORT<span class="token punctuation">]</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="parameter-description" tabindex="-1"><a class="header-anchor" href="#parameter-description" aria-hidden="true">#</a> Parameter Description</h3><ul><li><em>PID</em>: Target Java process ID (Make sure that the user executing the command has sufficient permissions to operate the target Java process.)</li><li><em>IP</em>: The address that Arthas Server listens on, the default value is <code>127.0.0.1</code>. Arthas allows multiple users to access simultaneously without interfering with each other.</li><li><em>PORT</em>: Arthas Server portthe default value is 3658</li></ul><h3 id="sample" tabindex="-1"><a class="header-anchor" href="#sample" aria-hidden="true">#</a> Sample</h3><ul><li><p>If IP and PORT are not specified, then the default values are 127.0.0.1 and 3658</p><blockquote><p>./as.sh 12345</p></blockquote><p>Equivalent to:</p><blockquote><p>./as.sh 12356@127.0.0.1:3658</p></blockquote></li></ul><h3 id="remote-diagnosis" tabindex="-1"><a class="header-anchor" href="#remote-diagnosis" aria-hidden="true">#</a> Remote Diagnosis</h3><p>After starting Arthas Server on the target Java process, users can use <code>telnet</code> connect to the remote Arthas Server, for example</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>telnet <span class="token number">192.168</span>.1.119 <span class="token number">3658</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="sudo-support" tabindex="-1"><a class="header-anchor" href="#sudo-support" aria-hidden="true">#</a> sudo Support</h3><p>Usually online environment will only grant users privilege as low as possible, instead, all advanced operations are through sudo-list. Since <code>as.sh</code> script takes into account the current effective user, it is possible to run the script in the other rule, by specifying <code>-H</code> option like this:</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code><span class="token function">sudo</span> <span class="token parameter variable">-u</span> admin <span class="token parameter variable">-H</span> ./as.sh <span class="token number">12345</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div><h3 id="windows-support" tabindex="-1"><a class="header-anchor" href="#windows-support" aria-hidden="true">#</a> Windows Support</h3><p>Right now <code>as.bat</code> script supports one parameter only, which is: pid</p><div class="language-bash ext-sh line-numbers-mode"><pre class="language-bash"><code>as.bat <span class="token operator">&lt;</span>pid<span class="token operator">&gt;</span>
</code></pre><div class="line-numbers" aria-hidden="true"><div class="line-number"></div></div></div></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/en/doc/start-arthas.md" rel="noopener noreferrer" target="_blank" aria-label="Edit this page on GitHub"><!--[--><!--]--><span>Edit this page on 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">open in new window</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">Contributors: </span><span class="meta-item-info"><!--[--><!--[--><span class="contributor" title="email: hengyunabc@gmail.com">hengyunabc</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: ian.luo@gmail.com">beiwei30</span><!--[-->, <!--]--><!--]--><!--[--><span class="contributor" title="email: 240951888@qq.com">mantuliu</span><!----><!--]--><!--]--></span></div></footer><!----><!--[--><!--]--></main><!--]--></div><!----><!--]--></div>
<script type="module" src="/assets/app.1e03d722.js" defer></script>
</body>
</html>