mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 07:32:57 +00:00
update doc
This commit is contained in:
1 parent
8cfec8157f
commit
39a7613335
4 files changed
+10
-6
No files matched your search
@@ -22,7 +22,8 @@
|
||||
* [jvm](jvm.md)——查看当前 JVM 的信息
|
||||
* [sysprop](sysprop.md)——查看和修改JVM的系统属性
|
||||
* [sysenv](syspenv.md)——查看JVM的环境变量
|
||||
* **New!** [getstatic](getstatic.md)——查看类的静态属性
|
||||
* [getstatic](getstatic.md)——查看类的静态属性
|
||||
* **New!** [ognl](ognl.md)——执行ognl表达式
|
||||
|
||||
## class/classloader相关
|
||||
|
||||
@@ -52,10 +53,10 @@
|
||||
|
||||
## 管道
|
||||
|
||||
Arthas支持使用管道对上述命令的结果进行进一步的处理,如`sm org.apache.log4j.Logger | grep <init>`
|
||||
Arthas支持使用管道对上述命令的结果进行进一步的处理,如`sm java.lang.String * | grep 'index'`
|
||||
|
||||
* grep——搜索满足条件的结果
|
||||
* plaintext——将命令的结果去除颜色
|
||||
* plaintext——将命令的结果去除ANSI颜色
|
||||
* wc——按行统计输出结果
|
||||
|
||||
## 后台异步任务
|
||||
|
||||
@@ -33,6 +33,7 @@
|
||||
* session——查看当前会话的信息
|
||||
* [reset](reset.md)——重置增强类,将被 Arthas 增强过的类全部还原,Arthas 服务端关闭时会重置所有增强过的类
|
||||
* version——输出当前目标 Java 进程所加载的 Arthas 版本号
|
||||
* history——打印命令历史
|
||||
* quit——退出当前 Arthas 客户端,其他 Arthas 客户端不受影响
|
||||
* shutdown——关闭 Arthas 服务端,所有 Arthas 客户端全部退出
|
||||
* [keymap](keymap.md)——Arthas快捷键列表及自定义快捷键
|
||||
@@ -20,7 +20,8 @@ Advanced Usage
|
||||
* [jvm](jvm.md) - show JVM information
|
||||
* [sysprop](sysprop.md) - view/modify system properties
|
||||
* [sysenv](syspenv.md) — view system environment variables
|
||||
* **New!** [getstatic](getstatic.md) :clap: - examine class's static properties
|
||||
* **New!** [getstatic](getstatic.md) - examine class's static properties
|
||||
* **New!** [ognl](ognl.md) - execute ongl expression
|
||||
|
||||
## class/classloader
|
||||
|
||||
@@ -48,10 +49,10 @@ Advanced Usage
|
||||
|
||||
## pipe
|
||||
|
||||
Arthas provides `pipe` to process the result returned from commands further, e.g. `sm org.apache.log4j.Logger | grep <init>`. Commands supported in `pipe`:
|
||||
Arthas provides `pipe` to process the result returned from commands further, e.g. `sm java.lang.String * | grep 'index'`. Commands supported in `pipe`:
|
||||
|
||||
* grep - filter the result with the given keyword
|
||||
* plaintext - remove the color
|
||||
* plaintext - remove the ANSI color
|
||||
* wc - count lines
|
||||
|
||||
## async in background
|
||||
|
||||
@@ -34,6 +34,7 @@ All Commands
|
||||
* session - examine the current session
|
||||
* [reset](reset.md) - reset enhanced classes. All enhanced classes will be reset to their original states. When Arthas server closes, all these enhanced classes will be reset too
|
||||
* version - print out Arthas's version
|
||||
* history - view command history
|
||||
* quit - exit the current Arthas client without affecting other clients
|
||||
* shutdown - terminate the Arthas server, all the Arthas clients connecting to this server will be disconnected
|
||||
* [keymap](keymap.md) - list all Arthas keyboard shortcuts and shortcut customizations.
|
||||
|
||||
Reference in new issue
Block a user