<liclass="toctree-l1"><aclass="reference external"href="https://github.com/alibaba/arthas/issues?q=label%3Aquestion-answered">Questions and answers</a></li>
<liclass="toctree-l1"><aclass="reference external"href="https://github.com/alibaba/arthas">Fork me at GitHub</a></li>
<li><strong>New!</strong><aclass="reference internal"href="getstatic.html"><spanclass="doc">getstatic</span></a> :clap: - check the static properties of classes</li>
<li><aclass="reference internal"href="dump.html"><spanclass="doc">dump</span></a> - dump out the byte code of the loaded classes to specified location</li>
<li><aclass="reference internal"href="redefine.html"><spanclass="doc">redefine</span></a> - load external <codeclass="docutils literal notranslate"><spanclass="pre">*.class</span></code> files and re-define the JVM-loaded classes</li>
<li><aclass="reference internal"href="classloader.html"><spanclass="doc">classloader</span></a> - check the inheritance structure, urls, class loading info of class cloader; using classloader to get the url of the resource e.g. <codeclass="docutils literal notranslate"><spanclass="pre">java/lang/String.class</span></code></li>
<spanid="monitor-watch-trace-related"></span><h2>monitor/watch/trace - related<aclass="headerlink"href="#monitor-watch-trace-related"title="Permalink to this headline">¶</a></h2>
<div><strong>Attention</strong>: commands here are taking advantage of <codeclass="docutils literal notranslate"><spanclass="pre">byte</span><spanclass="pre">code</span><spanclass="pre">injection</span></code>, which means we are using <aclass="reference external"href="https://en.wikipedia.org/wiki/Aspect-oriented_programming">AOP</a> to monitor and analyze the classes. So when using it for online troubleshooting, you’d better <em>explicitly specifically</em> specify the classes and also remember to remove the injected code by <codeclass="docutils literal notranslate"><spanclass="pre">shutdown</span></code> or <codeclass="docutils literal notranslate"><spanclass="pre">reset</span></code>.</div></blockquote>
<li><aclass="reference internal"href="watch.html"><spanclass="doc">watch</span></a> - watch/monitor methods in data aspect including <codeclass="docutils literal notranslate"><spanclass="pre">return</span><spanclass="pre">values</span></code>, <codeclass="docutils literal notranslate"><spanclass="pre">exceptions</span></code> and <codeclass="docutils literal notranslate"><spanclass="pre">parameters</span></code></li>
<li><aclass="reference internal"href="trace.html"><spanclass="doc">trace</span></a> - track the method calling trace along with the time cost for each call</li>
<li><aclass="reference internal"href="stack.html"><spanclass="doc">stack</span></a> - print the call stack trace of the current method in a persistent way</li>
<li><aclass="reference internal"href="tt.html"><spanclass="doc">tt</span></a> - record the arguments and returned value for the methods, history included</li>
<spanid="pipe"></span><h2>pipe<aclass="headerlink"href="#pipe"title="Permalink to this headline">¶</a></h2>
<p><codeclass="docutils literal notranslate"><spanclass="pre">pipe</span></code> is supported in Arthas, e.g. <codeclass="docutils literal notranslate"><spanclass="pre">sm</span><spanclass="pre">org.apache.log4j.Logger</span><spanclass="pre">|</span><spanclass="pre">grep</span><spanclass="pre"><init></span></code></p>
<spanid="async-in-background"></span><h2>async in background<aclass="headerlink"href="#async-in-background"title="Permalink to this headline">¶</a></h2>
<p><aclass="reference external"href="https://github.com/alibaba/arthas/tree/master/site/src/site/sphinx/en/async.md">async</a> will be a great help, when the <codeclass="docutils literal notranslate"><spanclass="pre">incident</span></code> seldom occurs and you are <aclass="reference external"href="watch.md"><codeclass="docutils literal notranslate"><spanclass="pre">watch</span></code></a>ing it.</p>
<li>fg - bring the paused job back to the front</li>
<li>bg - put the paused job to the background</li>
<li>tips - a) use <codeclass="docutils literal notranslate"><spanclass="pre">></span></code> to redirect the output; b) use <codeclass="docutils literal notranslate"><spanclass="pre">&</span></code> to put the job to the background; c) disconnecting the session will not influence the job (the default life is 1 day)</li>
</ul>
</div>
<divclass="section"id="others">
<spanid="others"></span><h2>Others<aclass="headerlink"href="#others"title="Permalink to this headline">¶</a></h2>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/rtfd/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.