<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>
<spanid="arthas-documentation"></span><h1>Arthas Documentation<aclass="headerlink"href="#arthas-documentation"title="Permalink to this headline">¶</a></h1>
<p><codeclass="docutils literal notranslate"><spanclass="pre">Arthas</span></code> is an Java Diagnostic tool open sourced by Alibaba.</p>
<p>Arthas can help developer trouble-shooting production issues for Java applications without modifying your code or restating your server.</p>
<divclass="section"id="background">
<spanid="background"></span><h2>Background<aclass="headerlink"href="#background"title="Permalink to this headline">¶</a></h2>
<p>In production system, sometimes the networks is unreachable from local development environment. If you encounter some issues in production system, it is impossible to use IDE to debug the application remotely. More importantly, debugging in production is unacceptable, because it will suspend all the threads, which leads to business unavailability.</p>
<p>Some may think of reproducing the same issue on the test/staging environment, however, some tricky issue either can hardly be reproduced on a different environment, or even disappeared once restarted.</p>
<p>Thinking of adding some logs to your code? You have to go through test, staging, and then on to production. Time is money! That is a lot inefficient! Besides, the issue may not be reproducible once restart your JVM, as described above.</p>
<p>Arthas is born to solve these issues. You can trouble-shoot your production issue on-the-fly. No JVM restart, no additional code changes. Arthas works as an observer, which will never suspend your existing threads.</p>
</div>
<divclass="section"id="key-features">
<spanid="key-features"></span><h2>Key features<aclass="headerlink"href="#key-features"title="Permalink to this headline">¶</a></h2>
<ulclass="simple">
<li>Check whether a class is loaded? And whether is class loaded from? (Useful for trouble-shooting jar file conflicts)</li>
<li>Decompile a class to ensure the code is running as expected.</li>
<li>View classloader statistics, e.g. how may classloaders are there? how many class is loaded per classloader? What is the classloader hierarchy? Is there possible classloader leaks?</li>
<li>View the method invocation details, e.g. method parameter, return object, thrown exception, and etc.</li>
<li>Check the stack trace of specified method invocation. This is useful when you would like to know who is calling your method?</li>
<li>Trace the method invocation to find slow sub-invocations.</li>
<li>Monitor method invcation statistics, e.g. qps, rt, success rate and etc.</li>
<li>Monitoring your system metrics, thread states and cpu usage, gc statistics, and etc.</li>
<li>Support command line interactive mode, with auto completed feature enabled.</li>
<li>Support telnet and websocket, which enables both local and remote diagnostics with command line and browsers.</li>
</ul>
</div>
<divclass="section"id="contents">
<spanid="contents"></span><h2>Contents<aclass="headerlink"href="#contents"title="Permalink to this headline">¶</a></h2>
<p>English version has just been finished. If you would like to make it better, please check <aclass="reference external"href="https://github.com/alibaba/arthas/issues/51">here</a> and submit your PM.</p>
<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>
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>.