mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-12 22:41:26 +00:00
update en doc
This commit is contained in:
1 parent
e1aec34af0
commit
5124cca8eb
64 files changed
+1439
-923
No files matched your search
+10
-9
@@ -114,14 +114,14 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="stack.html">stack</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tt.html">tt</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="commands.html#basic-commands">Basic Commands</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="commands.html#basic-arthas-commands">Basic Arthas Commands</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://github.com/alibaba/arthas/issues?q=label%3Auser-case">User cases</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="release-notes.html">Release Notes</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://github.com/alibaba/arthas/issues?q=label%3Aquestion-answered">Questions and answers</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://github.com/alibaba/arthas">Fork me at GitHub</a></li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://github.com/alibaba/arthas/blob/master/CONTRIBUTING.md">CONTRIBUTING</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="release-notes.html">Release Notes</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
@@ -192,10 +192,9 @@
|
||||
|
||||
<div class="section" id="sm">
|
||||
<span id="sm"></span><h1>sm<a class="headerlink" href="#sm" title="Permalink to this headline">¶</a></h1>
|
||||
<p>Check the method profile of the loaded classes;</p>
|
||||
<p>Abbreviated from <em>Search-Method</em>, with which you can check all methods profiles of the loaded classes.</p>
|
||||
<p>F.Y.I
|
||||
<code class="docutils literal notranslate"><span class="pre">sm</span></code> only shows the methods declared in the current class; methods declared in ancestors will not be presented.</p>
|
||||
<blockquote>
|
||||
<div>Search method from the loaded classes.</div></blockquote>
|
||||
<p><code class="docutils literal notranslate"><span class="pre">sm</span></code> stands for search method. This command can search and show method information from all loaded classes. <code class="docutils literal notranslate"><span class="pre">sm</span></code> can only view the methods declared on the target class, that is, methods from its parent classes are invisible.</p>
|
||||
<div class="section" id="options">
|
||||
<span id="options"></span><h2>Options<a class="headerlink" href="#options" title="Permalink to this headline">¶</a></h2>
|
||||
<table border="1" class="docutils">
|
||||
@@ -215,18 +214,19 @@
|
||||
<td align="left">pattern for method name</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">[d]</td>
|
||||
<td align="right"><code>[d]</code></td>
|
||||
<td align="left">print the details of the method</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right">[E]</td>
|
||||
<td align="right"><code>[E]</code></td>
|
||||
<td align="left">turn on regex matching while the default mode is wildcard matching</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<div class="section" id="usage">
|
||||
<span id="usage"></span><h2>Usage<a class="headerlink" href="#usage" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span>$ sm org.apache.catalina.connector.Connector
|
||||
<p>Show methods from <code class="docutils literal notranslate"><span class="pre">org.apache.catalina.connector.Connector</span></code>:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ sm org.apache.catalina.connector.Connector
|
||||
org.apache.catalina.connector.Connector-><init>
|
||||
org.apache.catalina.connector.Connector->setProperty
|
||||
org.apache.catalina.connector.Connector->getProperty
|
||||
@@ -266,6 +266,7 @@ org.apache.catalina.connector.Connector->getMaxCookieCount
|
||||
...
|
||||
</pre></div>
|
||||
</div>
|
||||
<p>Show methods’ details from <code class="docutils literal notranslate"><span class="pre">org.apache.catalina.connector.Connector</span></code>:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>$ sm org.apache.catalina.connector.Connector -d
|
||||
declaring-class org.apache.catalina.connector.Connector
|
||||
constructor-name <init>
|
||||
|
||||
Reference in new issue
Block a user