mirror of
https://github.com/alibaba/arthas.git
synced 2024-04-21 10:21:39 +00:00
update doc
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
* [thread](thread.md)——查看当前 JVM 的线程堆栈信息
|
||||
* [jvm](jvm.md)——查看当前 JVM 的信息
|
||||
* [sysprop](sysprop.md)——查看和修改JVM的系统属性
|
||||
* [sysenv](syspenv.md)——查看JVM的环境变量
|
||||
* [sysenv](sysenv.md)——查看JVM的环境变量
|
||||
* [getstatic](getstatic.md)——查看类的静态属性
|
||||
* **New!** [ognl](ognl.md)——执行ognl表达式
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ redefine
|
||||
|
||||
### 使用参考
|
||||
|
||||
```
|
||||
```bash
|
||||
redefine -p /tmp/Test.class
|
||||
redefine -c 327a647b -p /tmp/Test.class /tmp/Test\$Inner.class
|
||||
```
|
||||
|
||||
+1
-1
@@ -210,7 +210,7 @@
|
||||
<li><a class="reference internal" href="thread.html"><span class="doc">thread</span></a>——查看当前 JVM 的线程堆栈信息</li>
|
||||
<li><a class="reference internal" href="jvm.html"><span class="doc">jvm</span></a>——查看当前 JVM 的信息</li>
|
||||
<li><a class="reference internal" href="sysprop.html"><span class="doc">sysprop</span></a>——查看和修改JVM的系统属性</li>
|
||||
<li><a class="reference external" href="https://github.com/alibaba/arthas/tree/master/site/src/site/sphinx/syspenv.md">sysenv</a>——查看JVM的环境变量</li>
|
||||
<li><a class="reference internal" href="sysenv.html"><span class="doc">sysenv</span></a>——查看JVM的环境变量</li>
|
||||
<li><a class="reference internal" href="getstatic.html"><span class="doc">getstatic</span></a>——查看类的静态属性</li>
|
||||
<li><strong>New!</strong> <a class="reference internal" href="ognl.html"><span class="doc">ognl</span></a>——执行ognl表达式</li>
|
||||
</ul>
|
||||
|
||||
@@ -19,7 +19,7 @@ Advanced Usage
|
||||
* [thread](thread.md) - show java thread information
|
||||
* [jvm](jvm.md) - show JVM information
|
||||
* [sysprop](sysprop.md) - view/modify system properties
|
||||
* [sysenv](syspenv.md) — view system environment variables
|
||||
* [sysenv](sysenv.md) — view system environment variables
|
||||
* **New!** [getstatic](getstatic.md) - examine class's static properties
|
||||
* **New!** [ognl](ognl.md) - execute ongl expression
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ Reference: [Instrumentation#redefineClasses](https://docs.oracle.com/javase/8/do
|
||||
|
||||
### Usage
|
||||
|
||||
```
|
||||
```bash
|
||||
redefine -p /tmp/Test.class
|
||||
redefine -c 327a647b -p /tmp/Test.class /tmp/Test$Inner.class
|
||||
```
|
||||
|
||||
@@ -208,7 +208,7 @@
|
||||
<li><a class="reference internal" href="thread.html"><span class="doc">thread</span></a> - show java thread information</li>
|
||||
<li><a class="reference internal" href="jvm.html"><span class="doc">jvm</span></a> - show JVM information</li>
|
||||
<li><a class="reference internal" href="sysprop.html"><span class="doc">sysprop</span></a> - view/modify system properties</li>
|
||||
<li><a class="reference external" href="https://github.com/alibaba/arthas/tree/master/site/src/site/sphinx/en/syspenv.md">sysenv</a> — view system environment variables</li>
|
||||
<li><a class="reference internal" href="sysenv.html"><span class="doc">sysenv</span></a> — view system environment variables</li>
|
||||
<li><strong>New!</strong> <a class="reference internal" href="getstatic.html"><span class="doc">getstatic</span></a> - examine class’s static properties</li>
|
||||
<li><strong>New!</strong> <a class="reference internal" href="ognl.html"><span class="doc">ognl</span></a> - execute ongl expression</li>
|
||||
</ul>
|
||||
|
||||
+3
-2
@@ -223,8 +223,9 @@
|
||||
</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"><pre class="literal-block">redefine -p /tmp/Test.class
|
||||
redefine -c 327a647b -p /tmp/Test.class /tmp/Test$Inner.class</pre>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">redefine -p /tmp/Test.class
|
||||
redefine -c 327a647b -p /tmp/Test.class /tmp/Test$Inner.class
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="restrictions-of-the-redefine-command">
|
||||
|
||||
+3
-2
@@ -225,8 +225,9 @@
|
||||
</table></div>
|
||||
<div class="section" id="">
|
||||
<span id="id2"></span><h2>使用参考<a class="headerlink" href="#" title="永久链接至标题">¶</a></h2>
|
||||
<div class="highlight-default notranslate"><pre class="literal-block"> redefine -p /tmp/Test.class
|
||||
redefine -c 327a647b -p /tmp/Test.class /tmp/Test\$Inner.class</pre>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash"> redefine -p /tmp/Test.class
|
||||
redefine -c 327a647b -p /tmp/Test.class /tmp/Test\$Inner.class
|
||||
</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="redefine">
|
||||
|
||||
Reference in New Issue
Block a user