mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-21 07:06:18 +00:00
update doc
This commit is contained in:
1 parent
6e8b832093
commit
5ee0584465
146 files changed
+923
-364
No files matched your search
+1
-1
@@ -1,4 +1,4 @@
|
||||
# Sphinx build info version 1
|
||||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
|
||||
config: 5284b8e171e90cb633fef8fe68031aa1
|
||||
config: 9f7cecd0264d1aac1ed1c3ad3f11ca41
|
||||
tags: 645f666f9bcd5a90fca523b33c5a78b7
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title><no title> — Arthas ${revision} documentation</title>
|
||||
<title><no title> — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@ Advanced Usage
|
||||
* [cat](cat.md) - Concatenate and print files
|
||||
* [echo](echo.md) - write arguments to the standard output
|
||||
* [grep](grep.md) - Pattern searcher
|
||||
* [base64](base64.md) - Encode and decode using Base64 representation.
|
||||
* [tee](tee.md) - Copies standard input to standard output, making a copy in zero or more files.
|
||||
* [pwd](pwd.md) - Return working directory name
|
||||
* session - display current session information
|
||||
@@ -39,6 +40,7 @@ Advanced Usage
|
||||
* [sm](sm.md) - check methods info for the loaded classes
|
||||
* [jad](jad.md) - decompile the specified loaded classes
|
||||
* [mc](mc.md) - Memory compiler, compiles `.java` files into `.class` files in memory
|
||||
* [retransform](retransform.md) - load external `*.class` files and retransform it into JVM
|
||||
* [redefine](redefine.md) - load external `*.class` files and re-define it into JVM
|
||||
* [dump](dump.md) - dump the loaded classes in byte code to the specified location
|
||||
* [classloader](classloader.md) - check the inheritance structure, urls, class loading info for the specified class; using classloader to get the url of the resource e.g. `java/lang/String.class`
|
||||
|
||||
@@ -22,6 +22,7 @@ All Commands
|
||||
* [jad](jad.md)
|
||||
* [classloader](classloader.md)
|
||||
* [mc](mc.md)
|
||||
* [retransform](retransform.md)
|
||||
* [redefine](redefine.md)
|
||||
|
||||
* [monitor](monitor.md)
|
||||
@@ -35,6 +36,7 @@ All Commands
|
||||
* [cat](cat.md)
|
||||
* [echo](echo.md)
|
||||
* [grep](grep.md)
|
||||
* [base64](base64.md)
|
||||
* [tee](tee.md)
|
||||
* [pwd](pwd.md)
|
||||
* [options](options.md)
|
||||
|
||||
@@ -8,6 +8,17 @@
|
||||
[https://github.com/alibaba/arthas/issues/44](https://github.com/alibaba/arthas/issues/44)
|
||||
|
||||
|
||||
##### Can commands such as trace/watch enhance the classes in jdk?
|
||||
|
||||
By default, classes beginning with `java.` are filtered out, but they can be turned on:
|
||||
|
||||
```bash
|
||||
options unsafe true
|
||||
```
|
||||
|
||||
See more at [options](options.md)
|
||||
|
||||
|
||||
##### How to view the result in `json` format
|
||||
|
||||
```bash
|
||||
@@ -24,3 +35,29 @@ No.
|
||||
##### Can arthas view the value of a variable in memory?
|
||||
|
||||
No. But you can use some tricks to intercept the object with the `tt` command, or fetch it from a static method.
|
||||
|
||||
|
||||
##### How to filter method with the same name?
|
||||
|
||||
You can used all variables in [fundamental fields in expressions](advice-class.md) for the condition express to filter method with the same name, you can use the number of parameters `params.length ==1`,parameter type `params[0] instanceof java.lang.Integer`,return value type `returnObj instanceof java.util.List` and so on in one or more combinations as condition express.
|
||||
|
||||
You can use `-v` to view the condition express result [https://github.com/alibaba/arthas/issues/1348](https://github.com/alibaba/arthas/issues/1348)
|
||||
|
||||
example [arthas-demo](quick-start.md)
|
||||
|
||||
```bash
|
||||
watch demo.MathGame primeFactors traceE '{params,returnObj,throwExp}' -v -n 5 -x 3 'params.length >0 && returnObj instanceof java.util.List'
|
||||
```
|
||||
|
||||
##### How to watch or trace constructor?
|
||||
|
||||
```bash
|
||||
watch demo.MathGame <init> '{params,returnObj,throwExp}' -v -n 5 -x 3 '1==1'
|
||||
```
|
||||
|
||||
|
||||
##### java.lang.ClassFormatError: null, skywalking arthas compatible use
|
||||
|
||||
When error log appear `java.lang.ClassFormatError: null`, it is usually modified by other bytecode tools that are not compatible with arthas modified bytecode.
|
||||
|
||||
For example: use skywalking V8.1.0 below [cannot trace, watch classes enhanced by skywalking agent](https://github.com/alibaba/arthas/issues/1141), V8.1.0 or above is compatible, refer to skywalking configuration for more details. [skywalking compatible with other javaagent bytecode processing](https://github.com/apache/skywalking/blob/v8.1.0/docs/en/FAQ/Compatible-with-other-javaagent-bytecode-processing.md).
|
||||
@@ -57,7 +57,7 @@ CharSequence {
|
||||
|
||||
#### Print source only
|
||||
|
||||
By default, the decompile result will have the `ClassLoader` information. With the `--source-only` option, you can print only the source code. Conveniently used with the [mc](mc.md)/[redefine](redefine.md) commands.
|
||||
By default, the decompile result will have the `ClassLoader` information. With the `--source-only` option, you can print only the source code. Conveniently used with the [mc](mc.md)/[retransform](retransform.md) commands.
|
||||
|
||||
```
|
||||
$ jad --source-only demo.MathGame
|
||||
|
||||
@@ -30,6 +30,6 @@ The output directory can be specified with the `-d` option:
|
||||
mc -d /tmp/output /tmp/ClassA.java /tmp/ClassB.java
|
||||
```
|
||||
|
||||
After compiling the `.class` file, you can use the [redefine](redefine.md) command to re-define the loaded classes in JVM.
|
||||
After compiling the `.class` file, you can use the [retransform](retransform.md) command to re-define the loaded classes in JVM.
|
||||
|
||||
> Note that the mc command may fail. If the compilation fails, the `.class` file can be compiled locally and uploaded to the server. Refer to the [redefine](redefine.md) command description for details.
|
||||
> Note that the mc command may fail. If the compilation fails, the `.class` file can be compiled locally and uploaded to the server. Refer to the [retransform](retransform.md) command description for details.
|
||||
@@ -1,6 +1,8 @@
|
||||
redefine
|
||||
========
|
||||
|
||||
> Recommend to use the [retransform](retransform.md) command.
|
||||
|
||||
[`mc-redefine` online tutorial](https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=command-mc-redefine)
|
||||
|
||||
> Load the external `*.class` files to re-define the loaded classes in JVM.
|
||||
@@ -9,6 +11,8 @@ Reference: [Instrumentation#redefineClasses](https://docs.oracle.com/javase/8/do
|
||||
|
||||
### Frequently asked questions
|
||||
|
||||
> Recommend to use the [retransform](retransform.md) command.
|
||||
|
||||
* The class of `redefine` cannot modify, add or delete the field and method of the class, including method parameters, method names and return values.
|
||||
|
||||
* If `mc` fails, you can compile the class file in the local development environment, upload it to the target system, and use `redefine` to hot load the class.
|
||||
@@ -29,7 +33,6 @@ Reference: [Instrumentation#redefineClasses](https://docs.oracle.com/javase/8/do
|
||||
|---:|:---|
|
||||
|`[c:]`|hashcode of the class loader|
|
||||
|`[classLoaderClass:]`| The class name of the ClassLoader that executes the expression. |
|
||||
|`[p:]`|absolute path of the external `*.class`, multiple paths are separated with 'space'|
|
||||
|
||||
|
||||
### Usage
|
||||
|
||||
+39
-2
@@ -127,7 +127,7 @@ $ tt -i 1003
|
||||
Affect(row-cnt:1) cost in 11 ms.
|
||||
```
|
||||
|
||||
### Replay record
|
||||
#### Replay record
|
||||
|
||||
Since Arthas stores the context of the call, you can even *replay* the method calling afterwards with extra option `-p` to replay the issue for advanced troubleshooting, option `--replay-times`
|
||||
define the replay execution times, option `--replay-interval` define the interval(unit in ms,with default value 1000) of replays
|
||||
@@ -152,13 +152,50 @@ Time fragment[1004] successfully replayed.
|
||||
Affect(row-cnt:1) cost in 14 ms.
|
||||
```
|
||||
|
||||
#### Watch express
|
||||
|
||||
`-w, --watch-express` watch the time fragment by ognl express.
|
||||
|
||||
* You can used all variables in [fundamental fields in expressions](advice-class.md) for the watch express。
|
||||
|
||||
```bash
|
||||
[arthas@10718]$ tt -t demo.MathGame run -n 5
|
||||
Press Q or Ctrl+C to abort.
|
||||
Affect(class count: 1 , method count: 1) cost in 56 ms, listenerId: 1
|
||||
INDEX TIMESTAMP COST(ms) IS-RET IS-EXP OBJECT CLASS METHOD
|
||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
1000 2021-01-08 21:54:17 0.901091 true false 0x7699a589 MathGame run
|
||||
[arthas@10718]$ tt -w 'target.illegalArgumentCount' -x 1 -i 1000
|
||||
@Integer[60]
|
||||
Affect(row-cnt:1) cost in 7 ms.
|
||||
```
|
||||
|
||||
* Get a static field and calling a static method
|
||||
|
||||
```bash
|
||||
[arthas@10718]$ tt -t demo.MathGame run -n 5
|
||||
Press Q or Ctrl+C to abort.
|
||||
Affect(class count: 1 , method count: 1) cost in 56 ms, listenerId: 1
|
||||
INDEX TIMESTAMP COST(ms) IS-RET IS-EXP OBJECT CLASS METHOD
|
||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
1000 2021-01-08 21:54:17 0.901091 true false 0x7699a589 MathGame run
|
||||
[arthas@10718]$ tt -w '@demo.MathGame@random.nextInt(100)' -x 1 -i 1000
|
||||
@Integer[46]
|
||||
```
|
||||
|
||||
Note that `com.taobao.arthas.core.advisor.Advice#getLoader` is used here, and that it is better to use the exact `classloader` [ognl](ognl.md).
|
||||
|
||||
|
||||
Advanced usage [get spring context to call the bean method](https://github.com/alibaba/arthas/issues/482)
|
||||
|
||||
|
||||
F.Y.I
|
||||
|
||||
1. **Loss** of the `ThreadLocal`
|
||||
|
||||
Arthas save params into an array, then invoke the method with the params again. The method execute in another thread, so the `ThreadLocal` **lost**.
|
||||
|
||||
1. params may be modified
|
||||
2. params may be modified
|
||||
|
||||
Arthas save params into an array, they are object references. The Objects may be modified by other code.
|
||||
|
||||
@@ -235,6 +235,23 @@ ts=2018-12-03 20:04:34; [cost=131.303498ms] result=@Integer[8]
|
||||
ts=2018-12-03 20:04:35; [cost=0.961441ms] result=@Integer[8]
|
||||
```
|
||||
|
||||
#### Get a static field and calling a static method
|
||||
|
||||
```bash
|
||||
watch demo.MathGame * '{params,@demo.MathGame@random.nextInt(100)}' -v -n 1 -x 2
|
||||
[arthas@6527]$ watch demo.MathGame * '{params,@demo.MathGame@random.nextInt(100)}' -n 1 -x 2
|
||||
Press Q or Ctrl+C to abort.
|
||||
Affect(class count: 1 , method count: 5) cost in 34 ms, listenerId: 3
|
||||
ts=2021-01-05 21:35:20; [cost=0.173966ms] result=@ArrayList[
|
||||
@Object[][
|
||||
@Integer[-138282],
|
||||
],
|
||||
@Integer[89],
|
||||
]
|
||||
```
|
||||
|
||||
* Note that here you use `Thread.currentThread().getContextClassLoader()` to load, and it is better to use the exact `classloader` [ognl](ognl.md).
|
||||
|
||||
|
||||
#### Exclude the specified class
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
var DOCUMENTATION_OPTIONS = {
|
||||
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
|
||||
VERSION: '${revision}',
|
||||
VERSION: '3.4.6',
|
||||
LANGUAGE: 'en',
|
||||
COLLAPSE_INDEX: false,
|
||||
FILE_SUFFIX: '.html',
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Advanced Usage — Arthas ${revision} documentation</title>
|
||||
<title>Advanced Usage — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -224,6 +224,7 @@
|
||||
<li><p><a class="reference internal" href="cat.html"><span class="doc">cat</span></a> - Concatenate and print files</p></li>
|
||||
<li><p><a class="reference internal" href="echo.html"><span class="doc">echo</span></a> - write arguments to the standard output</p></li>
|
||||
<li><p><a class="reference internal" href="grep.html"><span class="doc">grep</span></a> - Pattern searcher</p></li>
|
||||
<li><p><a class="reference internal" href="base64.html"><span class="doc">base64</span></a> - Encode and decode using Base64 representation.</p></li>
|
||||
<li><p><a class="reference internal" href="tee.html"><span class="doc">tee</span></a> - Copies standard input to standard output, making a copy in zero or more files.</p></li>
|
||||
<li><p><a class="reference internal" href="pwd.html"><span class="doc">pwd</span></a> - Return working directory name</p></li>
|
||||
<li><p>session - display current session information</p></li>
|
||||
@@ -259,6 +260,7 @@
|
||||
<li><p><a class="reference internal" href="sm.html"><span class="doc">sm</span></a> - check methods info for the loaded classes</p></li>
|
||||
<li><p><a class="reference internal" href="jad.html"><span class="doc">jad</span></a> - decompile the specified loaded classes</p></li>
|
||||
<li><p><a class="reference internal" href="mc.html"><span class="doc">mc</span></a> - Memory compiler, compiles <code class="docutils literal notranslate"><span class="pre">.java</span></code> files into <code class="docutils literal notranslate"><span class="pre">.class</span></code> files in memory</p></li>
|
||||
<li><p><a class="reference internal" href="retransform.html"><span class="doc">retransform</span></a> - load external <code class="docutils literal notranslate"><span class="pre">*.class</span></code> files and retransform it into JVM</p></li>
|
||||
<li><p><a class="reference internal" href="redefine.html"><span class="doc">redefine</span></a> - load external <code class="docutils literal notranslate"><span class="pre">*.class</span></code> files and re-define it into JVM</p></li>
|
||||
<li><p><a class="reference internal" href="dump.html"><span class="doc">dump</span></a> - dump the loaded classes in byte code to the specified location</p></li>
|
||||
<li><p><a class="reference internal" href="classloader.html"><span class="doc">classloader</span></a> - check the inheritance structure, urls, class loading info for the specified class; using classloader to get the url of the resource e.g. <code class="docutils literal notranslate"><span class="pre">java/lang/String.class</span></code></p></li>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Fundamental Fields in Expressions — Arthas ${revision} documentation</title>
|
||||
<title>Fundamental Fields in Expressions — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2 current"><a class="reference internal" href="watch.html">watch</a><ul class="current">
|
||||
@@ -142,6 +143,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Start as a Java Agent — Arthas ${revision} documentation</title>
|
||||
<title>Start as a Java Agent — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Arthas Properties — Arthas ${revision} documentation</title>
|
||||
<title>Arthas Properties — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Arthas Async Jobs — Arthas ${revision} documentation</title>
|
||||
<title>Arthas Async Jobs — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Batch Processing — Arthas ${revision} documentation</title>
|
||||
<title>Batch Processing — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>cat — Arthas ${revision} documentation</title>
|
||||
<title>cat — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>classloader — Arthas ${revision} documentation</title>
|
||||
<title>classloader — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -135,6 +135,7 @@
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -145,6 +146,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+6
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>All Commands — Arthas ${revision} documentation</title>
|
||||
<title>All Commands — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -239,6 +241,7 @@
|
||||
<li class="toctree-l1"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -249,6 +252,7 @@
|
||||
<li class="toctree-l1"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l1"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Contact Us — Arthas ${revision} documentation</title>
|
||||
<title>Contact Us — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>dashboard — Arthas ${revision} documentation</title>
|
||||
<title>dashboard — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -132,6 +132,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -142,6 +143,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Docker — Arthas ${revision} documentation</title>
|
||||
<title>Docker — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Download — Arthas ${revision} documentation</title>
|
||||
<title>Download — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>dump — Arthas ${revision} documentation</title>
|
||||
<title>dump — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -137,6 +138,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>echo — Arthas ${revision} documentation</title>
|
||||
<title>echo — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+31
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>FAQ — Arthas ${revision} documentation</title>
|
||||
<title>FAQ — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -114,9 +114,13 @@
|
||||
<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 current"><a class="current reference internal" href="#">FAQ</a><ul>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#how-much-impact-does-arthas-attach-have-on-the-performance-of-the-original-process">How much impact does Arthas attach have on the performance of the original process?</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#can-commands-such-as-trace-watch-enhance-the-classes-in-jdk">Can commands such as trace/watch enhance the classes in jdk?</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#how-to-view-the-result-in-json-format">How to view the result in <code class="docutils literal notranslate"><span class="pre">json</span></code> format</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#can-arthas-trace-native-methods">Can arthas trace native methods</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#can-arthas-view-the-value-of-a-variable-in-memory">Can arthas view the value of a variable in memory?</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#how-to-filter-method-with-the-same-name">How to filter method with the same name?</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#how-to-watch-or-trace-constructor">How to watch or trace constructor?</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="#java-lang-classformaterror-null-skywalking-arthas-compatible-use">java.lang.ClassFormatError: null, skywalking arthas compatible use</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l1"><a class="reference external" href="https://github.com/alibaba/arthas">Star me at GitHub</a></li>
|
||||
@@ -198,6 +202,13 @@
|
||||
<h2>How much impact does Arthas attach have on the performance of the original process?<a class="headerlink" href="#how-much-impact-does-arthas-attach-have-on-the-performance-of-the-original-process" title="Permalink to this headline">¶</a></h2>
|
||||
<p><a class="reference external" href="https://github.com/alibaba/arthas/issues/44">https://github.com/alibaba/arthas/issues/44</a></p>
|
||||
</div>
|
||||
<div class="section" id="can-commands-such-as-trace-watch-enhance-the-classes-in-jdk">
|
||||
<h2>Can commands such as trace/watch enhance the classes in jdk?<a class="headerlink" href="#can-commands-such-as-trace-watch-enhance-the-classes-in-jdk" title="Permalink to this headline">¶</a></h2>
|
||||
<p>By default, classes beginning with <code class="docutils literal notranslate"><span class="pre">java.</span></code> are filtered out, but they can be turned on:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">options unsafe true</pre></div>
|
||||
</div>
|
||||
<p>See more at <a class="reference internal" href="options.html"><span class="doc">options</span></a></p>
|
||||
</div>
|
||||
<div class="section" id="how-to-view-the-result-in-json-format">
|
||||
<h2>How to view the result in <code class="docutils literal notranslate"><span class="pre">json</span></code> format<a class="headerlink" href="#how-to-view-the-result-in-json-format" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">options json-format true</pre></div>
|
||||
@@ -212,6 +223,24 @@
|
||||
<h2>Can arthas view the value of a variable in memory?<a class="headerlink" href="#can-arthas-view-the-value-of-a-variable-in-memory" title="Permalink to this headline">¶</a></h2>
|
||||
<p>No. But you can use some tricks to intercept the object with the <code class="docutils literal notranslate"><span class="pre">tt</span></code> command, or fetch it from a static method.</p>
|
||||
</div>
|
||||
<div class="section" id="how-to-filter-method-with-the-same-name">
|
||||
<h2>How to filter method with the same name?<a class="headerlink" href="#how-to-filter-method-with-the-same-name" title="Permalink to this headline">¶</a></h2>
|
||||
<p>You can used all variables in <a class="reference internal" href="advice-class.html"><span class="doc">fundamental fields in expressions</span></a> for the condition express to filter method with the same name, you can use the number of parameters <code class="docutils literal notranslate"><span class="pre">params.length</span> <span class="pre">==1</span></code>,parameter type <code class="docutils literal notranslate"><span class="pre">params[0]</span> <span class="pre">instanceof</span> <span class="pre">java.lang.Integer</span></code>,return value type <code class="docutils literal notranslate"><span class="pre">returnObj</span> <span class="pre">instanceof</span> <span class="pre">java.util.List</span></code> and so on in one or more combinations as condition express.</p>
|
||||
<p>You can use <code class="docutils literal notranslate"><span class="pre">-v</span></code> to view the condition express result <a class="reference external" href="https://github.com/alibaba/arthas/issues/1348">https://github.com/alibaba/arthas/issues/1348</a></p>
|
||||
<p>example <a class="reference internal" href="quick-start.html"><span class="doc">arthas-demo</span></a></p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">watch demo.MathGame primeFactors traceE '{params,returnObj,throwExp}' -v -n 5 -x 3 'params.length >0 && returnObj instanceof java.util.List'</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="how-to-watch-or-trace-constructor">
|
||||
<h2>How to watch or trace constructor?<a class="headerlink" href="#how-to-watch-or-trace-constructor" title="Permalink to this headline">¶</a></h2>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">watch demo.MathGame <init> '{params,returnObj,throwExp}' -v -n 5 -x 3 '1==1'</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="java-lang-classformaterror-null-skywalking-arthas-compatible-use">
|
||||
<h2>java.lang.ClassFormatError: null, skywalking arthas compatible use<a class="headerlink" href="#java-lang-classformaterror-null-skywalking-arthas-compatible-use" title="Permalink to this headline">¶</a></h2>
|
||||
<p>When error log appear <code class="docutils literal notranslate"><span class="pre">java.lang.ClassFormatError:</span> <span class="pre">null</span></code>, it is usually modified by other bytecode tools that are not compatible with arthas modified bytecode.</p>
|
||||
<p>For example: use skywalking V8.1.0 below <a class="reference external" href="https://github.com/alibaba/arthas/issues/1141">cannot trace, watch classes enhanced by skywalking agent</a>, V8.1.0 or above is compatible, refer to skywalking configuration for more details. <a class="reference external" href="https://github.com/apache/skywalking/blob/v8.1.0/docs/en/FAQ/Compatible-with-other-javaagent-bytecode-processing">skywalking compatible with other javaagent bytecode processing</a>.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -9,7 +9,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Index — Arthas ${revision} documentation</title>
|
||||
<title>Index — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>getstatic — Arthas ${revision} documentation</title>
|
||||
<title>getstatic — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -137,6 +138,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+6
-4
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>grep — Arthas ${revision} documentation</title>
|
||||
<title>grep — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<link rel="stylesheet" href="_static/overrides.css" type="text/css" />
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="tee" href="tee.html" />
|
||||
<link rel="next" title="base64" href="base64.html" />
|
||||
<link rel="prev" title="echo" href="echo.html" />
|
||||
<script>
|
||||
if (window.location.href.startsWith("https://alibaba.github.io/arthas/")) {
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -265,7 +267,7 @@
|
||||
|
||||
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
||||
|
||||
<a href="tee.html" class="btn btn-neutral float-right" title="tee" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||||
<a href="base64.html" class="btn btn-neutral float-right" title="base64" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||||
|
||||
|
||||
<a href="echo.html" class="btn btn-neutral float-left" title="echo" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>groovy — Arthas ${revision} documentation</title>
|
||||
<title>groovy — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>heapdump — Arthas ${revision} documentation</title>
|
||||
<title>heapdump — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -141,6 +142,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Http API — Arthas ${revision} documentation</title>
|
||||
<title>Http API — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>IDEA Plugin — Arthas ${revision} documentation</title>
|
||||
<title>IDEA Plugin — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Arthas Documentation — Arthas ${revision} documentation</title>
|
||||
<title>Arthas Documentation — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Install Arthas — Arthas ${revision} documentation</title>
|
||||
<title>Install Arthas — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+5
-3
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>jad — Arthas ${revision} documentation</title>
|
||||
<title>jad — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -133,6 +133,7 @@
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -143,6 +144,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -304,7 +306,7 @@ CharSequence {
|
||||
</div>
|
||||
<div class="section" id="print-source-only">
|
||||
<h3>Print source only<a class="headerlink" href="#print-source-only" title="Permalink to this headline">¶</a></h3>
|
||||
<p>By default, the decompile result will have the <code class="docutils literal notranslate"><span class="pre">ClassLoader</span></code> information. With the <code class="docutils literal notranslate"><span class="pre">--source-only</span></code> option, you can print only the source code. Conveniently used with the <a class="reference internal" href="mc.html"><span class="doc">mc</span></a>/<a class="reference internal" href="redefine.html"><span class="doc">redefine</span></a> commands.</p>
|
||||
<p>By default, the decompile result will have the <code class="docutils literal notranslate"><span class="pre">ClassLoader</span></code> information. With the <code class="docutils literal notranslate"><span class="pre">--source-only</span></code> option, you can print only the source code. Conveniently used with the <a class="reference internal" href="mc.html"><span class="doc">mc</span></a>/<a class="reference internal" href="retransform.html"><span class="doc">retransform</span></a> commands.</p>
|
||||
<div class="highlight-default notranslate"><pre class="literal-block">$ jad --source-only demo.MathGame
|
||||
/*
|
||||
* Decompiled with CFR 0_132.
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>jvm — Arthas ${revision} documentation</title>
|
||||
<title>jvm — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -128,6 +128,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -138,6 +139,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Arthas Console Keymap — Arthas ${revision} documentation</title>
|
||||
<title>Arthas Console Keymap — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>logger — Arthas ${revision} documentation</title>
|
||||
<title>logger — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -134,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -144,6 +145,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Manually Install Arthas — Arthas ${revision} documentation</title>
|
||||
<title>Manually Install Arthas — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>mbean — Arthas ${revision} documentation</title>
|
||||
<title>mbean — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -137,6 +138,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+8
-6
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>mc — Arthas ${revision} documentation</title>
|
||||
<title>mc — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
<link rel="stylesheet" href="_static/overrides.css" type="text/css" />
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="redefine" href="redefine.html" />
|
||||
<link rel="next" title="retransform" href="retransform.html" />
|
||||
<link rel="prev" title="classloader" href="classloader.html" />
|
||||
<script>
|
||||
if (window.location.href.startsWith("https://alibaba.github.io/arthas/")) {
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -239,9 +241,9 @@ Affect(row-cnt:1) cost in 346 ms</pre></div>
|
||||
<p>The output directory can be specified with the <code class="docutils literal notranslate"><span class="pre">-d</span></code> option:</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">mc -d /tmp/output /tmp/ClassA.java /tmp/ClassB.java</pre></div>
|
||||
</div>
|
||||
<p>After compiling the <code class="docutils literal notranslate"><span class="pre">.class</span></code> file, you can use the <a class="reference internal" href="redefine.html"><span class="doc">redefine</span></a> command to re-define the loaded classes in JVM.</p>
|
||||
<p>After compiling the <code class="docutils literal notranslate"><span class="pre">.class</span></code> file, you can use the <a class="reference internal" href="retransform.html"><span class="doc">retransform</span></a> command to re-define the loaded classes in JVM.</p>
|
||||
<blockquote>
|
||||
<div><p>Note that the mc command may fail. If the compilation fails, the <code class="docutils literal notranslate"><span class="pre">.class</span></code> file can be compiled locally and uploaded to the server. Refer to the <a class="reference internal" href="redefine.html"><span class="doc">redefine</span></a> command description for details.</p>
|
||||
<div><p>Note that the mc command may fail. If the compilation fails, the <code class="docutils literal notranslate"><span class="pre">.class</span></code> file can be compiled locally and uploaded to the server. Refer to the <a class="reference internal" href="retransform.html"><span class="doc">retransform</span></a> command description for details.</p>
|
||||
</div></blockquote>
|
||||
</div>
|
||||
|
||||
@@ -253,7 +255,7 @@ Affect(row-cnt:1) cost in 346 ms</pre></div>
|
||||
|
||||
<div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
|
||||
|
||||
<a href="redefine.html" class="btn btn-neutral float-right" title="redefine" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||||
<a href="retransform.html" class="btn btn-neutral float-right" title="retransform" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||||
|
||||
|
||||
<a href="classloader.html" class="btn btn-neutral float-left" title="classloader" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>monitor — Arthas ${revision} documentation</title>
|
||||
<title>monitor — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">monitor</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#items-to-monitor">Items to monitor</a></li>
|
||||
@@ -142,6 +143,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
Binary file not shown.
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>ognl — Arthas ${revision} documentation</title>
|
||||
<title>ognl — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -141,6 +142,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>options — Arthas ${revision} documentation</title>
|
||||
<title>options — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">options</a><ul>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>perfcounter — Arthas ${revision} documentation</title>
|
||||
<title>perfcounter — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -137,6 +138,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>profiler — Arthas ${revision} documentation</title>
|
||||
<title>profiler — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -154,6 +155,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>pwd — Arthas ${revision} documentation</title>
|
||||
<title>pwd — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Quick Start — Arthas ${revision} documentation</title>
|
||||
<title>Quick Start — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+12
-8
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>redefine — Arthas ${revision} documentation</title>
|
||||
<title>redefine — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="monitor" href="monitor.html" />
|
||||
<link rel="prev" title="mc" href="mc.html" />
|
||||
<link rel="prev" title="retransform" href="retransform.html" />
|
||||
<script>
|
||||
if (window.location.href.startsWith("https://alibaba.github.io/arthas/")) {
|
||||
window.location.href = "https://arthas.aliyun.com/doc/" + window.location.href.substr("https://alibaba.github.io/arthas/".length);
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">redefine</a><ul>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#frequently-asked-questions">Frequently asked questions</a></li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#options">Options</a></li>
|
||||
@@ -141,6 +142,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -229,6 +231,9 @@
|
||||
|
||||
<div class="section" id="redefine">
|
||||
<h1>redefine<a class="headerlink" href="#redefine" title="Permalink to this headline">¶</a></h1>
|
||||
<blockquote>
|
||||
<div><p>Recommend to use the <a class="reference internal" href="retransform.html"><span class="doc">retransform</span></a> command.</p>
|
||||
</div></blockquote>
|
||||
<p><a class="reference external" href="https://arthas.aliyun.com/doc/arthas-tutorials?language=en&id=command-mc-redefine"><code class="docutils literal notranslate"><span class="pre">mc-redefine</span></code> online tutorial</a></p>
|
||||
<blockquote>
|
||||
<div><p>Load the external <code class="docutils literal notranslate"><span class="pre">*.class</span></code> files to re-define the loaded classes in JVM.</p>
|
||||
@@ -236,6 +241,9 @@
|
||||
<p>Reference: <a class="reference external" href="https://docs.oracle.com/javase/8/docs/api/java/lang/instrument/Instrumentation.html#redefineClasses-java.lang.instrument.ClassDefinition...-">Instrumentation#redefineClasses</a></p>
|
||||
<div class="section" id="frequently-asked-questions">
|
||||
<h2>Frequently asked questions<a class="headerlink" href="#frequently-asked-questions" title="Permalink to this headline">¶</a></h2>
|
||||
<blockquote>
|
||||
<div><p>Recommend to use the <a class="reference internal" href="retransform.html"><span class="doc">retransform</span></a> command.</p>
|
||||
</div></blockquote>
|
||||
<ul class="simple">
|
||||
<li><p>The class of <code class="docutils literal notranslate"><span class="pre">redefine</span></code> cannot modify, add or delete the field and method of the class, including method parameters, method names and return values.</p></li>
|
||||
<li><p>If <code class="docutils literal notranslate"><span class="pre">mc</span></code> fails, you can compile the class file in the local development environment, upload it to the target system, and use <code class="docutils literal notranslate"><span class="pre">redefine</span></code> to hot load the class.</p></li>
|
||||
@@ -270,10 +278,6 @@ The reason is that in the JDK <code class="docutils literal notranslate"><span c
|
||||
<td align="right"><code>[classLoaderClass:]</code></td>
|
||||
<td align="left">The class name of the ClassLoader that executes the expression.</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="right"><code>[p:]</code></td>
|
||||
<td align="left">absolute path of the external <code>*.class</code>, multiple paths are separated with 'space'</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
<div class="section" id="usage">
|
||||
@@ -360,7 +364,7 @@ redefine /tmp/com/example/demo/arthas/user/UserController.class</pre></div>
|
||||
<a href="monitor.html" class="btn btn-neutral float-right" title="monitor" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||||
|
||||
|
||||
<a href="mc.html" class="btn btn-neutral float-left" title="mc" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||||
<a href="retransform.html" class="btn btn-neutral float-left" title="retransform" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Release Notes — Arthas ${revision} documentation</title>
|
||||
<title>Release Notes — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>reset — Arthas ${revision} documentation</title>
|
||||
<title>reset — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Log command outputs — Arthas ${revision} documentation</title>
|
||||
<title>Log command outputs — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>sc — Arthas ${revision} documentation</title>
|
||||
<title>sc — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -137,6 +138,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Search — Arthas ${revision} documentation</title>
|
||||
<title>Search — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
Search.setIndex({docnames:["README","advanced-use","advice-class","agent","arthas-properties","async","batch-support","cat","classloader","commands","contact-us","dashboard","docker","download","dump","echo","faq","getstatic","grep","groovy","heapdump","http-api","idea-plugin","index","install-detail","jad","jvm","keymap","logger","manual-install","mbean","mc","monitor","ognl","options","perfcounter","profiler","pwd","quick-start","redefine","release-notes","reset","save-log","sc","sm","spring-boot-starter","stack","start-arthas","sysenv","sysprop","tee","thread","trace","tt","tunnel","vmoption","watch","web-console"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["README.md","advanced-use.md","advice-class.md","agent.md","arthas-properties.md","async.md","batch-support.md","cat.md","classloader.md","commands.md","contact-us.md","dashboard.md","docker.md","download.md","dump.md","echo.md","faq.md","getstatic.md","grep.md","groovy.md","heapdump.md","http-api.md","idea-plugin.md","index.md","install-detail.md","jad.md","jvm.md","keymap.md","logger.md","manual-install.md","mbean.md","mc.md","monitor.md","ognl.md","options.md","perfcounter.md","profiler.md","pwd.md","quick-start.md","redefine.md","release-notes.md","reset.md","save-log.md","sc.md","sm.md","spring-boot-starter.md","stack.md","start-arthas.md","sysenv.md","sysprop.md","tee.md","thread.md","trace.md","tt.md","tunnel.md","vmoption.md","watch.md","web-console.md"],objects:{},objnames:{},objtypes:{},terms:{"001018m":52,"004539m":52,"004935m":52,"005198m":52,"005372m":52,"005428m":52,"005778m":52,"006405m":52,"006783m":52,"008747m":52,"010317m":52,"010473m":52,"011636m":52,"012257m":52,"012416m":38,"013777m":52,"01696m":56,"019768m":52,"023715m":52,"028624m":52,"030432m":52,"033735m":52,"0353m":56,"03752m":52,"039s":1,"045534m":52,"052877m":56,"05447m":52,"059839m":52,"060843m":56,"061462m":52,"068692m":41,"06941m":52,"076457m":52,"078946m":52,"07b":11,"084025m":52,"08a":43,"094064m":52,"0_132":[25,38],"0_162":38,"0_51":49,"0_60":8,"0m0":1,"0ms":51,"0x0":48,"0x19":48,"0x1f5":48,"0x34":48,"0x4b67cf4d":53,"1000m":[11,51],"100m":[11,52],"100mb":28,"105228m":52,"10m":52,"1102230246251565e":[17,33,56],"113929m":52,"1170m":51,"120s":32,"123934m":52,"128518m":41,"1294m":52,"12m":38,"136007m":38,"1365m":38,"14dad5dc":41,"14m":38,"155m":38,"167786m":52,"168897m":56,"178583m":52,"1820m":38,"182813m":52,"185203m":38,"18m":11,"1b6d3586":8,"1ms":51,"200m":[51,56],"202c":21,"2048k":11,"20m":38,"232606m":52,"232887m":52,"234537m":52,"23m":38,"240m":38,"241735m":21,"256color":48,"25s":34,"272s":11,"276874m":52,"277392m":56,"280502m":56,"281s":1,"28ea5898":33,"29fafb28":51,"2a139a55":28,"2b085b5d":21,"2bdd9114":25,"2eaa1027":[17,56],"2gb":28,"301ec38b":33,"303498m":56,"30m":11,"311395m":38,"31a6493":51,"327a647b":[31,39],"32m":38,"357742m":52,"3648e874":5,"36m":11,"389634m":52,"3d4eac69":[8,14,17,25,38,43,46,52],"3fe55d741882":54,"3ms":51,"401m":51,"407b":21,"409446m":52,"4096m":11,"414993m":56,"41cf53f9":56,"42ac":48,"42d3":21,"43de":21,"45df64fc":19,"46m":11,"472067c7":33,"473f":5,"477882m":56,"47m":11,"48f4":54,"491k":11,"492551m":52,"4a00":54,"4b85612c":33,"4c0df5f8":25,"4de6":22,"4rel":28,"50m":11,"522b4":43,"522b408a":56,"530255m":56,"546aeec1":51,"549379m":52,"572s":1,"584m":51,"587833m":56,"58ef25a97948":22,"590102m":41,"5ae4e5fbab8b4e529ac404f260d4e2d1_1":21,"5b0e2d00":19,"5e69":5,"5level":28,"60bc264d":48,"617465m":52,"6367e55a78a2":54,"65m":38,"66350f69":[8,14,25,38,43],"66m":11,"672m":38,"6849794470754667710l":25,"68b31f0a":8,"6951a712":25,"69dcaba4":25,"69m":11,"6e51ad67":25,"6fafc4c2":25,"701b744f971e":21,"70m":11,"7127ee12":51,"715367m":38,"716391m":52,"725be470":51,"7f89660b079b":5,"7f9a81e8":33,"838077m":52,"849713m":52,"852594m":52,"85m":38,"883b":21,"8b39":21,"8ecb9cb7c7804d5d92e258b23d5245cc_1":21,"8f7f6ad7bc2d4cb5aa57a530927a95cc_2":21,"94766d3c":21,"955dbd1325334a84972b0f3ac19de4f7_2":21,"961441m":56,"969732m":38,"98aee3ccbefb":21,"9eed":5,"9fa3":22,"\u4e2d\u6587\u6587\u6863":23,"boolean":[2,17,33,56],"break":[19,21],"byte":[1,25,26,40],"case":[2,4,5,18,23,40,45,54],"catch":[38,39],"char":[25,27],"class":[0,2,9,11,12,14,17,19,21,23,25,26,28,31,32,33,34,40,43,44,45,46,49,53],"default":[1,3,4,6,11,14,18,19,21,25,27,28,30,32,33,34,36,40,41,42,43,44,46,47,48,51,52,53,54,55,56,57],"enum":17,"export":[12,35],"final":[2,6,25,38,51],"function":[21,34,38,39,52,56],"import":[23,25,38,45],"instanceof":53,"int":[25,38,39,43],"long":[17,21,25,28,33,46,51,52,56],"new":[21,25,36,38,39,45,51,52],"null":[2,5,8,14,21,28,33,38,56],"public":[2,8,19,25,38,39,43,44,45],"return":[0,1,2,19,21,23,32,33,37,38,39,44,53],"static":[1,16,17,19,25,33,38,39,40,43,45],"super":[8,25,43],"switch":[19,29,30,36],"throw":[2,19,25,38,39,40,52,53],"true":[2,4,11,12,16,21,25,Line truncated
|
||||
Search.setIndex({docnames:["README","advanced-use","advice-class","agent","arthas-properties","async","base64","batch-support","cat","classloader","commands","contact-us","dashboard","docker","download","dump","echo","faq","getstatic","grep","groovy","heapdump","http-api","idea-plugin","index","install-detail","jad","jvm","keymap","logger","manual-install","mbean","mc","monitor","ognl","options","perfcounter","profiler","pwd","quick-start","redefine","release-notes","reset","retransform","save-log","sc","sm","spring-boot-starter","stack","start-arthas","sysenv","sysprop","tee","thread","trace","tt","tunnel","vmoption","watch","web-console"],envversion:{"sphinx.domains.c":1,"sphinx.domains.changeset":1,"sphinx.domains.citation":1,"sphinx.domains.cpp":1,"sphinx.domains.javascript":1,"sphinx.domains.math":2,"sphinx.domains.python":1,"sphinx.domains.rst":1,"sphinx.domains.std":1,sphinx:56},filenames:["README.md","advanced-use.md","advice-class.md","agent.md","arthas-properties.md","async.md","base64.md","batch-support.md","cat.md","classloader.md","commands.md","contact-us.md","dashboard.md","docker.md","download.md","dump.md","echo.md","faq.md","getstatic.md","grep.md","groovy.md","heapdump.md","http-api.md","idea-plugin.md","index.md","install-detail.md","jad.md","jvm.md","keymap.md","logger.md","manual-install.md","mbean.md","mc.md","monitor.md","ognl.md","options.md","perfcounter.md","profiler.md","pwd.md","quick-start.md","redefine.md","release-notes.md","reset.md","retransform.md","save-log.md","sc.md","sm.md","spring-boot-starter.md","stack.md","start-arthas.md","sysenv.md","sysprop.md","tee.md","thread.md","trace.md","tt.md","tunnel.md","vmoption.md","watch.md","web-console.md"],objects:{},objnames:{},objtypes:{},terms:{"001018m":54,"004539m":54,"004935m":54,"005198m":54,"005372m":54,"005428m":54,"005778m":54,"006405m":54,"006783m":54,"008747m":54,"010317m":54,"010473m":54,"011636m":54,"012257m":54,"012416m":39,"013777m":54,"01696m":58,"019768m":54,"023715m":54,"028624m":54,"030432m":54,"033735m":54,"0353m":58,"03752m":54,"039s":1,"045534m":54,"052877m":58,"05447m":54,"059839m":54,"060843m":58,"061462m":54,"068692m":42,"06941m":54,"076457m":54,"078946m":54,"07b":12,"084025m":54,"08a":45,"094064m":54,"0_132":[26,39],"0_162":39,"0_51":51,"0_60":9,"0m0":1,"0ms":53,"0x0":50,"0x19":50,"0x1f5":50,"0x34":50,"0x4b67cf4d":55,"0x7699a589":55,"1000m":[12,53],"100m":[12,54],"100mb":29,"105228m":54,"10m":54,"1102230246251565e":[18,34,58],"113929m":54,"1170m":53,"120s":33,"123934m":54,"128518m":42,"1294m":54,"12m":39,"136007m":39,"1365m":39,"14dad5dc":42,"14m":39,"155m":39,"167786m":54,"168897m":58,"173966m":58,"178583m":54,"1820m":39,"182813m":54,"185203m":39,"18m":12,"1b6d3586":9,"1ms":53,"200m":[53,58],"202c":22,"2048k":12,"20m":39,"232606m":54,"232887m":54,"234537m":54,"23m":39,"240m":39,"241735m":22,"256color":50,"25s":35,"272s":12,"276874m":54,"277392m":58,"280502m":58,"281s":1,"28ea5898":34,"29fafb28":53,"2a139a55":29,"2b085b5d":22,"2bdd9114":26,"2eaa1027":[18,58],"2gb":29,"301ec38b":34,"303498m":58,"30m":12,"311395m":39,"31a6493":53,"327a647b":[32,40,43],"32m":39,"357742m":54,"3648e874":5,"36m":12,"389634m":54,"3d4eac69":[9,15,18,26,39,45,48,54],"3fe55d741882":56,"3ms":53,"401m":53,"407b":22,"409446m":54,"4096m":12,"414993m":58,"41cf53f9":58,"42ac":50,"42d3":22,"43de":22,"45df64fc":20,"46m":12,"472067c7":34,"473f":5,"477882m":58,"47m":12,"48f4":56,"491k":12,"492551m":54,"4a00":56,"4b85612c":34,"4c0df5f8":26,"4de6":23,"4rel":29,"50m":12,"522b4":45,"522b408a":58,"530255m":58,"546aeec1":53,"549379m":54,"572s":1,"584m":53,"587833m":58,"58ef25a97948":23,"590102m":42,"5ae4e5fbab8b4e529ac404f260d4e2d1_1":22,"5b0e2d00":20,"5e69":5,"5level":29,"60bc264d":50,"617465m":54,"6367e55a78a2":56,"65m":39,"66350f69":[9,15,26,39,45],"66m":12,"672m":39,"6849794470754667710l":26,"68b31f0a":9,"6951a712":26,"69dcaba4":26,"69m":12,"6e51ad67":26,"6fafc4c2":26,"701b744f971e":22,"70m":12,"7127ee12":53,"715367m":39,"716391m":54,"725be470":53,"7f89660b079b":5,"7f9a81e8":34,"838077m":54,"849713m":54,"852594m":54,"85m":39,"883b":22,"8b39":22,"8ecb9cb7c7804d5d92e258b23d5245cc_1":22,"8f7f6ad7bc2d4cb5aa57a530927a95cc_2":22,"94766d3c":22,"955dbd1325334a84972b0f3ac19de4f7_2":22,"961441m":58,"969732m":39,"98aee3ccbefb":22,"9eed":5,"9fa3":23,"\u4e2d\u6587\u6587\u6863":24,"boolean":[2,18,34,58],"break":[20,22],"byte":[1,26,27,41],"case":[2,4,5,19,24,41,47,56],"catch":[39,40,43],"char":[26,28],"class":[0,2,10,12,13,15,18,20,22,24,26,27,29,32,33,34,35,41,45,46,47,48,51,55],"default":[1,3,4,7,12,15,17,19,20,22,26,28,29,31,33,34,35,37,41,42,44,45,46,48,49,50,53,54,55,56,57,58,59],"enum":18,"export":[13,36],"final":[2,7,26,39,53],"function":[22,35,39,40,43,54,58],"import":[24,26,39,47],"instanceof":[17,55],"int":[26,39,40,43,45],"long":[18,22,26,29,34,48,53,54,58],"new":[22,26,37,39,40,43,47,53,54],"null":[2,5,9,15,22,29,34,39,43,58],"public":[2,9,20,26,39,40,43,45,46,47],"return":[0,1,2,17,20,22,24,33,34,38,39,40,43,46,55],"static":[1,17,18,20,26,34,Line truncated
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>sm — Arthas ${revision} documentation</title>
|
||||
<title>sm — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -127,6 +127,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -137,6 +138,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Arthas Spring Boot Starter — Arthas ${revision} documentation</title>
|
||||
<title>Arthas Spring Boot Starter — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>stack — Arthas ${revision} documentation</title>
|
||||
<title>stack — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -143,6 +144,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Start Arthas — Arthas ${revision} documentation</title>
|
||||
<title>Start Arthas — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>sysenv — Arthas ${revision} documentation</title>
|
||||
<title>sysenv — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -130,6 +130,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -140,6 +141,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>sysprop — Arthas ${revision} documentation</title>
|
||||
<title>sysprop — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -141,6 +142,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+6
-4
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>tee — Arthas ${revision} documentation</title>
|
||||
<title>tee — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<link rel="index" title="Index" href="genindex.html" />
|
||||
<link rel="search" title="Search" href="search.html" />
|
||||
<link rel="next" title="pwd" href="pwd.html" />
|
||||
<link rel="prev" title="grep" href="grep.html" />
|
||||
<link rel="prev" title="base64" href="base64.html" />
|
||||
<script>
|
||||
if (window.location.href.startsWith("https://alibaba.github.io/arthas/")) {
|
||||
window.location.href = "https://arthas.aliyun.com/doc/" + window.location.href.substr("https://alibaba.github.io/arthas/".length);
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -133,6 +134,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -259,7 +261,7 @@
|
||||
<a href="pwd.html" class="btn btn-neutral float-right" title="pwd" accesskey="n" rel="next">Next <span class="fa fa-arrow-circle-right"></span></a>
|
||||
|
||||
|
||||
<a href="grep.html" class="btn btn-neutral float-left" title="grep" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||||
<a href="base64.html" class="btn btn-neutral float-left" title="base64" accesskey="p" rel="prev"><span class="fa fa-arrow-circle-left"></span> Previous</a>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>thread — Arthas ${revision} documentation</title>
|
||||
<title>thread — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -137,6 +137,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -147,6 +148,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>trace — Arthas ${revision} documentation</title>
|
||||
<title>trace — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -148,6 +149,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+39
-5
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>tt — Arthas ${revision} documentation</title>
|
||||
<title>tt — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -135,15 +136,17 @@
|
||||
<li class="toctree-l4"><a class="reference internal" href="#list-all-records">List all records</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#searching-for-records">Searching for records</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#check-context-of-the-call">Check context of the call</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#replay-record">Replay record</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#watch-express">Watch express</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l3"><a class="reference internal" href="#replay-record">Replay record</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="profiler.html">profiler</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -381,9 +384,8 @@ Affect(row-cnt:6) cost in 607 ms.</pre></div>
|
||||
Affect(row-cnt:1) cost in 11 ms.</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="replay-record">
|
||||
<h2>Replay record<a class="headerlink" href="#replay-record" title="Permalink to this headline">¶</a></h2>
|
||||
<h3>Replay record<a class="headerlink" href="#replay-record" title="Permalink to this headline">¶</a></h3>
|
||||
<p>Since Arthas stores the context of the call, you can even <em>replay</em> the method calling afterwards with extra option <code class="docutils literal notranslate"><span class="pre">-p</span></code> to replay the issue for advanced troubleshooting, option <code class="docutils literal notranslate"><span class="pre">--replay-times</span></code>
|
||||
define the replay execution times, option <code class="docutils literal notranslate"><span class="pre">--replay-interval</span></code> define the interval(unit in ms,with default value 1000) of replays</p>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">$ tt -i 1004 -p
|
||||
@@ -404,6 +406,37 @@ define the replay execution times, option <code class="docutils literal notrans
|
||||
Time fragment[1004] successfully replayed.
|
||||
Affect(row-cnt:1) cost in 14 ms.</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="watch-express">
|
||||
<h3>Watch express<a class="headerlink" href="#watch-express" title="Permalink to this headline">¶</a></h3>
|
||||
<p><code class="docutils literal notranslate"><span class="pre">-w,</span> <span class="pre">--watch-express</span></code> watch the time fragment by ognl express.</p>
|
||||
<ul class="simple">
|
||||
<li><p>You can used all variables in <a class="reference internal" href="advice-class.html"><span class="doc">fundamental fields in expressions</span></a> for the watch express。</p></li>
|
||||
</ul>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">[arthas@10718]$ tt -t demo.MathGame run -n 5
|
||||
Press Q or Ctrl+C to abort.
|
||||
Affect(class count: 1 , method count: 1) cost in 56 ms, listenerId: 1
|
||||
INDEX TIMESTAMP COST(ms) IS-RET IS-EXP OBJECT CLASS METHOD
|
||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
1000 2021-01-08 21:54:17 0.901091 true false 0x7699a589 MathGame run
|
||||
[arthas@10718]$ tt -w 'target.illegalArgumentCount' -x 1 -i 1000
|
||||
@Integer[60]
|
||||
Affect(row-cnt:1) cost in 7 ms.</pre></div>
|
||||
</div>
|
||||
<ul class="simple">
|
||||
<li><p>Get a static field and calling a static method</p></li>
|
||||
</ul>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">[arthas@10718]$ tt -t demo.MathGame run -n 5
|
||||
Press Q or Ctrl+C to abort.
|
||||
Affect(class count: 1 , method count: 1) cost in 56 ms, listenerId: 1
|
||||
INDEX TIMESTAMP COST(ms) IS-RET IS-EXP OBJECT CLASS METHOD
|
||||
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
1000 2021-01-08 21:54:17 0.901091 true false 0x7699a589 MathGame run
|
||||
[arthas@10718]$ tt -w '@demo.MathGame@random.nextInt(100)' -x 1 -i 1000
|
||||
@Integer[46]</pre></div>
|
||||
</div>
|
||||
<p>Note that <code class="docutils literal notranslate"><span class="pre">com.taobao.arthas.core.advisor.Advice#getLoader</span></code> is used here, and that it is better to use the exact <code class="docutils literal notranslate"><span class="pre">classloader</span></code> <a class="reference internal" href="ognl.html"><span class="doc">ognl</span></a>.</p>
|
||||
<p>Advanced usage <a class="reference external" href="https://github.com/alibaba/arthas/issues/482">get spring context to call the bean method</a></p>
|
||||
<p>F.Y.I</p>
|
||||
<ol>
|
||||
<li><p><strong>Loss</strong> of the <code class="docutils literal notranslate"><span class="pre">ThreadLocal</span></code></p>
|
||||
@@ -414,6 +447,7 @@ Affect(row-cnt:1) cost in 14 ms.</pre></div>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Arthas Tunnel — Arthas ${revision} documentation</title>
|
||||
<title>Arthas Tunnel — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
+4
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>vmoption — Arthas ${revision} documentation</title>
|
||||
<title>vmoption — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -131,6 +131,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="watch.html">watch</a></li>
|
||||
@@ -141,6 +142,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
|
||||
+22
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>watch — Arthas ${revision} documentation</title>
|
||||
<title>watch — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
@@ -123,6 +123,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="jad.html">jad</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="classloader.html">classloader</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="mc.html">mc</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="retransform.html">retransform</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="redefine.html">redefine</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="monitor.html">monitor</a></li>
|
||||
<li class="toctree-l2 current"><a class="current reference internal" href="#">watch</a><ul>
|
||||
@@ -142,6 +143,7 @@
|
||||
<li class="toctree-l4"><a class="reference internal" href="#check-exceptions">Check <code class="docutils literal notranslate"><span class="pre">exceptions</span></code></a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#filter-by-time-cost">Filter by time cost</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#check-the-field-of-the-target-object">Check the field of the target object</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#get-a-static-field-and-calling-a-static-method">Get a static field and calling a static method</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#exclude-the-specified-class">Exclude the specified class</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#does-not-match-subclass">Does not match subclass</a></li>
|
||||
<li class="toctree-l4"><a class="reference internal" href="#use-the-v-parameter-to-print-more-information">Use the -v parameter to print more information</a></li>
|
||||
@@ -156,6 +158,7 @@
|
||||
<li class="toctree-l2"><a class="reference internal" href="cat.html">cat</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="echo.html">echo</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="grep.html">grep</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="base64.html">base64</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="tee.html">tee</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="pwd.html">pwd</a></li>
|
||||
<li class="toctree-l2"><a class="reference internal" href="options.html">options</a></li>
|
||||
@@ -506,6 +509,23 @@ ts=2018-12-03 20:04:34; [cost=131.303498ms] result=@Integer[8]
|
||||
ts=2018-12-03 20:04:35; [cost=0.961441ms] result=@Integer[8]</pre></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="section" id="get-a-static-field-and-calling-a-static-method">
|
||||
<h3>Get a static field and calling a static method<a class="headerlink" href="#get-a-static-field-and-calling-a-static-method" title="Permalink to this headline">¶</a></h3>
|
||||
<div class="highlight-bash notranslate"><div class="highlight hljs"><pre class="bash">watch demo.MathGame * '{params,@demo.MathGame@random.nextInt(100)}' -v -n 1 -x 2
|
||||
[arthas@6527]$ watch demo.MathGame * '{params,@demo.MathGame@random.nextInt(100)}' -n 1 -x 2
|
||||
Press Q or Ctrl+C to abort.
|
||||
Affect(class count: 1 , method count: 5) cost in 34 ms, listenerId: 3
|
||||
ts=2021-01-05 21:35:20; [cost=0.173966ms] result=@ArrayList[
|
||||
@Object[][
|
||||
@Integer[-138282],
|
||||
],
|
||||
@Integer[89],
|
||||
]</pre></div>
|
||||
</div>
|
||||
<ul class="simple">
|
||||
<li><p>Note that here you use <code class="docutils literal notranslate"><span class="pre">Thread.currentThread().getContextClassLoader()</span></code> to load, and it is better to use the exact <code class="docutils literal notranslate"><span class="pre">classloader</span></code> <a class="reference internal" href="ognl.html"><span class="doc">ognl</span></a>.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="section" id="exclude-the-specified-class">
|
||||
<h3>Exclude the specified class<a class="headerlink" href="#exclude-the-specified-class" title="Permalink to this headline">¶</a></h3>
|
||||
<blockquote>
|
||||
|
||||
+2
-2
@@ -8,7 +8,7 @@
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Web Console — Arthas ${revision} documentation</title>
|
||||
<title>Web Console — Arthas 3.4.6 documentation</title>
|
||||
|
||||
|
||||
|
||||
@@ -73,7 +73,7 @@
|
||||
|
||||
|
||||
<div class="version">
|
||||
${revision}
|
||||
3.4.6
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user