update doc

pull/483/head
hengyunabc 6 years ago
parent d57fc2387a
commit 9510db822c

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@ -7,11 +7,17 @@
使用疑问意见可以直接在Issues里提出 [https://github.com/alibaba/arthas/issues](https://github.com/alibaba/arthas/issues)
### 钉钉群
Arthas开源交流钉钉群21965291 ,搜索群号即可加入。
![web console](_static/dingding_qr.jpg)
### QQ群
Arthas开源交流QQ群916328269
### 钉钉群
![web console](_static/qqgroup_qr.jpg)
Arthas开源交流钉钉群21965291 ,搜索群号即可加入。

@ -15,7 +15,7 @@ java -jar arthas-demo.jar
## 2. 启动arthas
在命令行下面执行:
在命令行下面执行使用和目标进程一致的用户启动否则可能attach失败
```bash
wget https://alibaba.github.io/arthas/arthas-boot.jar
@ -97,8 +97,10 @@ java.home /Library/Java/JavaVir
## 4. 通过thread命令来获取到`arthas-demo`进程的Main Class
`thread 1`会打印线程ID 1的栈通常是main函数的线程。
```bash
$ thread -n -1 | grep 'main('
$ thread 1 | grep 'main('
at demo.MathGame.main(MathGame.java:17)
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@ -102,8 +102,8 @@
<li class="toctree-l1"><a class="reference internal" href="release-notes.html">Release Notes</a></li>
<li class="toctree-l1 current"><a class="current reference internal" href="#">QQ群/钉钉群</a><ul>
<li class="toctree-l2"><a class="reference internal" href="#issues">Issues</a></li>
<li class="toctree-l2"><a class="reference internal" href="#qq">QQ群</a></li>
<li class="toctree-l2"><a class="reference internal" href="#">钉钉群</a></li>
<li class="toctree-l2"><a class="reference internal" href="#qq">QQ群</a></li>
</ul>
</li>
</ul>
@ -178,13 +178,15 @@
<span id="issues"></span><h2>Issues<a class="headerlink" href="#issues" title="永久链接至标题"></a></h2>
<p>使用疑问意见可以直接在Issues里提出 <a class="reference external" href="https://github.com/alibaba/arthas/issues">https://github.com/alibaba/arthas/issues</a></p>
</div>
<div class="section" id="qq">
<span id="qq"></span><h2>QQ群<a class="headerlink" href="#qq" title="永久链接至标题"></a></h2>
<p>Arthas开源交流QQ群916328269</p>
</div>
<div class="section" id="">
<span id="id2"></span><h2>钉钉群<a class="headerlink" href="#" title="永久链接至标题"></a></h2>
<p>Arthas开源交流钉钉群21965291 ,搜索群号即可加入。</p>
<p><img alt="web console" src="_images/dingding_qr.jpg" /></p>
</div>
<div class="section" id="qq">
<span id="qq"></span><h2>QQ群<a class="headerlink" href="#qq" title="永久链接至标题"></a></h2>
<p>Arthas开源交流QQ群916328269</p>
<p><img alt="web console" src="_images/qqgroup_qr.jpg" /></p>
</div>
</div>

@ -96,8 +96,10 @@ java.home /Library/Java/JavaVir
## 4. Get the Main Class of the `arthas-demo` process with the thread command
`thread 1` will print the stack of the thread with ID 1, which usually the main function thread.
```bash
$ thread -n -1 | grep 'main('
$ thread 1 | grep 'main('
at demo.MathGame.main(MathGame.java:17)
```

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

@ -268,7 +268,8 @@ java.home /Library/Java/JavaVir
</div>
<div class="section" id="get-the-main-class-of-the-arthas-demo-process-with-the-thread-command">
<span id="get-the-main-class-of-the-arthas-demo-process-with-the-thread-command"></span><h2>4. Get the Main Class of the <tt class="docutils literal">arthas-demo</tt> process with the thread command<a class="headerlink" href="#get-the-main-class-of-the-arthas-demo-process-with-the-thread-command" title="Permalink to this headline"></a></h2>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ thread -n -1 | grep &#x27;main(&#x27;
<p><tt class="docutils literal">thread 1</tt> will print the stack of the thread with ID 1, which usually the main function thread.</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ thread 1 | grep &#x27;main(&#x27;
at demo.MathGame.main(MathGame.java:17)
</pre></div>
</div>

File diff suppressed because one or more lines are too long

@ -190,7 +190,7 @@ java -jar arthas-demo.jar
</div>
<div class="section" id="arthas">
<span id="arthas"></span><h2>2. 启动arthas<a class="headerlink" href="#arthas" title="永久链接至标题"></a></h2>
<p>在命令行下面执行:</p>
<p>在命令行下面执行使用和目标进程一致的用户启动否则可能attach失败</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">wget https://alibaba.github.io/arthas/arthas-boot.jar
java -jar arthas-boot.jar
</pre></div>
@ -265,7 +265,8 @@ java.home /Library/Java/JavaVir
</div>
<div class="section" id="threadarthas-demomain-class">
<span id="threadarthas-demomain-class"></span><h2>4. 通过thread命令来获取到<tt class="docutils literal">arthas-demo</tt>进程的Main Class<a class="headerlink" href="#threadarthas-demomain-class" title="永久链接至标题"></a></h2>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ thread -n -1 | grep &#x27;main(&#x27;
<p><tt class="docutils literal">thread 1</tt>会打印线程ID 1的栈通常是main函数的线程。</p>
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ thread 1 | grep &#x27;main(&#x27;
at demo.MathGame.main(MathGame.java:17)
</pre></div>
</div>

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save