<spanid="arthas-documentation"></span><h1>Arthas Documentation<aclass="headerlink"href="#arthas-documentation"title="Permalink to this headline">¶</a></h1>
<spanid="arthas-documentation"></span><h1>Arthas Documentation<aclass="headerlink"href="#arthas-documentation"title="Permalink to this headline">¶</a></h1>
<spanid="advanced-manual-boot"></span><h2>Advanced Manual Boot<aclass="headerlink"href="#advanced-manual-boot"title="Permalink to this headline">¶</a></h2>
<spanid="advanced-manual-boot"></span><h2>Advanced Manual Boot<aclass="headerlink"href="#advanced-manual-boot"title="Permalink to this headline">¶</a></h2>
<p>If you cannot boot Arthas, try to pass in all the critical options manually as the following steps:</p>
<p>If you cannot boot Arthas, try to pass in all the critical options manually as the following steps:</p>
<span id="locate-the-java-for-jvm"></span><h3>1. locate the java for JVM:<aclass="headerlink"href="#locate-the-java-for-jvm"title="Permalink to this headline">¶</a></h3>
<li>Windows: open the Process Monitor to search java</li>
<li>Windows: open the Process Monitor to search java</li>
</ul>
</ul>
</div>
</li>
<divclass="section"id="concatenate-the-command">
<li><pclass="first">Concatenate the command</p>
<spanid="concatenate-the-command"></span><h3>2. Concatenate the command<aclass="headerlink"href="#concatenate-the-command"title="Permalink to this headline">¶</a></h3>
<p>Let’s suppose we are using <codeclass="docutils literal notranslate"><spanclass="pre">/opt/jdk1.8/bin/java</span></code>, then the command should be:</p>
<p>Let’s suppose we are using <codeclass="docutils literal notranslate"><spanclass="pre">/opt/jdk1.8/bin/java</span></code>, then the command should be:</p>
* `-pid 15146` specify the target java process pid
<li><codeclass="docutils literal notranslate"><spanclass="pre">-jar</span><spanclass="pre">/tmp/arthas-packaging/arthas-core.jar</span></code> specify main entry</li>
* `-target-ip 127.0.0.1` specify the IP
<li><codeclass="docutils literal notranslate"><spanclass="pre">-pid</span><spanclass="pre">15146</span></code> specify the target java process pid</li>
* `-telnet-port 3658 -http-port 8563` specify telnet and http ports
<li><codeclass="docutils literal notranslate"><spanclass="pre">-target-ip</span><spanclass="pre">127.0.0.1</span></code> specify the IP</li>
* `-core /tmp/arthas-packaging/arthas-core.jar -agent /tmp/arthas-packaging/arthas/arthas-agent.jar` specify core/agent jar package
<li><codeclass="docutils literal notranslate"><spanclass="pre">-telnet-port</span><spanclass="pre">3658</span><spanclass="pre">-http-port</span><spanclass="pre">8563</span></code> specify telnet and http ports</li>
</pre></div>
<li><codeclass="docutils literal notranslate"><spanclass="pre">-core</span><spanclass="pre">/tmp/arthas-packaging/arthas-core.jar</span><spanclass="pre">-agent</span><spanclass="pre">/tmp/arthas-packaging/arthas/arthas-agent.jar</span></code> specify core/agent jar package</li>
</div>
</ul>
<p>But if you are using JDK 1.9 or above,then you do not need to add <codeclass="docutils literal notranslate"><spanclass="pre">tools.jar</span></code> in option <codeclass="docutils literal notranslate"><spanclass="pre">-Xbootclasspath</span></code>.</p>
<p>But if you are using JDK 1.9 or above,then you do not need to add <codeclass="docutils literal notranslate"><spanclass="pre">tools.jar</span></code> in option <codeclass="docutils literal notranslate"><spanclass="pre">-Xbootclasspath</span></code>.</p>
<p>F.Y.I the booting log will be printed to <codeclass="docutils literal notranslate"><spanclass="pre">~/logs/arthas/arthas.log</span></code>.</p>
<p>F.Y.I the booting log will be printed to <codeclass="docutils literal notranslate"><spanclass="pre">~/logs/arthas/arthas.log</span></code>.</p>
</div>
</li>
<divclass="section"id="connect-via-telnet">
<li><pclass="first">Connect via telnet</p>
<spanid="connect-via-telnet"></span><h3>3. Connect via telnet<aclass="headerlink"href="#connect-via-telnet"title="Permalink to this headline">¶</a></h3>
<p>When attached successfully, you can connect it with</p>
<p>When attached successfully, you can connect it with</p>
<spanid="offline-help-documentation"></span><h2>Offline Help Documentation<aclass="headerlink"href="#offline-help-documentation"title="Permalink to this headline">¶</a></h2>
<spanid="offline-help-documentation"></span><h2>Offline Help Documentation<aclass="headerlink"href="#offline-help-documentation"title="Permalink to this headline">¶</a></h2>