diff --git a/README.html b/README.html index 6ae4cfd90..bde283dc6 100644 --- a/README.html +++ b/README.html @@ -8,7 +8,7 @@ -
sc——查看JVM已加载的类信息
sm——查看已加载类的方法信息
jad——反编译指定已加载类的源码
mc——内存编绎器,内存编绎.java文件为.class文件
mc——内存编译器,内存编译.java文件为.class文件
redefine——加载外部的.class文件,redefine到JVM里
dump——dump 已加载类的 byte code 到特定目录
classloader——查看classloader的继承树,urls,类加载信息,使用classloader去getResource
最多同时支持8个命令使用重定向将结果写日志
请勿同时开启过多的后台异步命令,以免对目标JVM性能造成影响
如果不想停止arthas,继续执行后台任务,可以执行 quit 退出arthas控制台(stop 会停止arthas 服务)
-@@ -254,7 +255,7 @@Attention: commands here are taking advantage of byte-code-injection, which means we are injecting some aspects into the current classes for monitoring and statistics purpose. Therefore when use it for online troubleshooting in your production environment, you’d better explicitly specify classes/methods/criteria, and remember to remove the injected code by
+stoporreset.Attention: commands here are taking advantage of byte-code-injection, which means we are injecting some aspects into the current classes for monitoring and statistics purpose. Therefore, when using it for online troubleshooting in your production environment, you’d better explicitly specify classes/methods/criteria, and remember to remove the injected code by
stoporreset.diff --git a/en/agent.html b/en/agent.html index f09957de0..2130a5902 100644 --- a/en/agent.html +++ b/en/agent.html @@ -8,7 +8,7 @@ -
- diff --git a/en/advice-class.html b/en/advice-class.html index 0544e4440..22f1f1928 100644 --- a/en/advice-class.html +++ b/en/advice-class.html @@ -8,7 +8,7 @@ -
monitor - monitor method execution statistics
Fundamental Fields in Expressions — Arthas 3.2.0 documentation +Fundamental Fields in Expressions — Arthas 3.3.2 documentation @@ -67,7 +67,7 @@- 3.2.0 + 3.3.2@@ -148,6 +148,7 @@- Fork me at GitHub
- Compile and debug/CONTRIBUTING
- Release Notes
+- Contact us
Start as a Java Agent — Arthas 3.2.0 documentation +Start as a Java Agent — Arthas 3.3.2 documentation @@ -67,7 +67,7 @@- 3.2.0 + 3.3.2@@ -122,6 +122,7 @@Fork me at GitHub Compile and debug/CONTRIBUTING Release Notes +Contact us diff --git a/en/async.html b/en/async.html index ba89ce986..cc01a5553 100644 --- a/en/async.html +++ b/en/async.html @@ -8,7 +8,7 @@ -Arthas Async Jobs — Arthas 3.2.0 documentation +Arthas Async Jobs — Arthas 3.3.2 documentation @@ -67,7 +67,7 @@- 3.2.0 + 3.3.2@@ -134,6 +134,7 @@Fork me at GitHub Compile and debug/CONTRIBUTING Release Notes +Contact us @@ -235,8 +236,8 @@3. Suspend and cancel job¶
When the job is executing in the foreground, for example, directly executing the command
trace Test t, or executing the background job commandtrace Test t &, then putting the job back to the foreground viafgcommand, the console cannot continue to execute other command, but can receive and process the following keyboard events:-
- -
‘ctrl + z’: Suspend the job, the job status will change to
Stopped, and the job can be restarted bybg <job-id>orfg <job-id>- +
‘ctrl + c’: Stop the job
- +
‘ctrl + z’: Suspends the job, the job status will change to
Stopped, and the job can be restarted bybg <job-id>orfg <job-id>‘ctrl + c’: Stops the job
‘ctrl + d’: According to linux semantics this should lead to exit the terminal, right now Arthas has not implemented this yet, therefore simply ignore this keystroke.
$ trace Test t >> test.out &The trace command will be running in the background and the output will be redirect to
-~/logs/arthas-cache/test.out. You can continue to execute other commands in the console, at the same time, you can also examine the execution result from the output file.When connect to a remote Arthas server, you may not be able to view the output file on the remote machine. In this case, Arthas also supports automatically redirecting the output to the local cache file. Examples are as follows:
+When connected to a remote Arthas server, you may not be able to view the output file on the remote machine. In this case, Arthas also supports automatically redirecting the output to the local cache file. Examples are as follows:
@@ -270,6 +271,7 @@ cache location : /Users/gehui/logs/arthas-cache/28198/2$ trace Test t >> & job id : 2 cache location : /Users/gehui/logs/arthas-cache/28198/2
Support up to 8 commands at the same time to redirect the output to the log files.
- +
Do not open too many background jobs at the same time to avoid negative performance effect to the target JVM.
If you do not want to stop the Arthas service and continue to perform background tasks, you can exit the Arthas console by executing
quitcommand (stopcommand will stop the Arthas service)
./as.sh -c 'sysprop; thread' 56328 > test.outcat test.outView hierarchy, urls and classes-loading info for the class-loaders.
-classloader can search and print out the URLs for a specified resource from one particular classloader. It is quite handy when analyze ResourceNotFoundException.
classloader can search and print out the URLs for a specified resource from one particular classloader. It is quite handy when analyzing ResourceNotFoundException.