From c1e164f0b2396d049248e3f58488435b1fdd86d0 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Tue, 3 Sep 2019 17:29:14 +0800 Subject: [PATCH] update doc --- site/src/site/sphinx/advanced-use.md | 6 ++++-- site/src/site/sphinx/commands.md | 1 + site/src/site/sphinx/en/advanced-use.md | 6 ++++-- site/src/site/sphinx/en/commands.md | 1 + 4 files changed, 10 insertions(+), 4 deletions(-) diff --git a/site/src/site/sphinx/advanced-use.md b/site/src/site/sphinx/advanced-use.md index 06a025ae8..7b35acc18 100644 --- a/site/src/site/sphinx/advanced-use.md +++ b/site/src/site/sphinx/advanced-use.md @@ -24,9 +24,11 @@ * [jvm](jvm.md)——查看当前 JVM 的信息 * [sysprop](sysprop.md)——查看和修改JVM的系统属性 * [sysenv](sysenv.md)——查看JVM的环境变量 +* [vmoption](vmoption.md)——查看和修改JVM里诊断相关的option * [getstatic](getstatic.md)——查看类的静态属性 -* **New!** [ognl](ognl.md)——执行ognl表达式 -* **New!** [mbean](mbean.md)——查看 Mbean 的信息 +* [ognl](ognl.md)——执行ognl表达式 +* [mbean](mbean.md)——查看 Mbean 的信息 +* [heapdump](heapdump.md)——dump java heap, 类似jmap命令的heap dump功能 ## class/classloader相关 diff --git a/site/src/site/sphinx/commands.md b/site/src/site/sphinx/commands.md index 60ea9ed9a..e16387dfa 100644 --- a/site/src/site/sphinx/commands.md +++ b/site/src/site/sphinx/commands.md @@ -41,5 +41,6 @@ * version——输出当前目标 Java 进程所加载的 Arthas 版本号 * history——打印命令历史 * quit——退出当前 Arthas 客户端,其他 Arthas 客户端不受影响 +* stop——和`shutdown`命令一致 * shutdown——关闭 Arthas 服务端,所有 Arthas 客户端全部退出 * [keymap](keymap.md)——Arthas快捷键列表及自定义快捷键 \ No newline at end of file diff --git a/site/src/site/sphinx/en/advanced-use.md b/site/src/site/sphinx/en/advanced-use.md index 54c090449..80dc3c9a5 100644 --- a/site/src/site/sphinx/en/advanced-use.md +++ b/site/src/site/sphinx/en/advanced-use.md @@ -22,9 +22,11 @@ Advanced Usage * [jvm](jvm.md) - show JVM information * [sysprop](sysprop.md) - view/modify system properties * [sysenv](sysenv.md) — view system environment variables +* [vmoption](vmoption.md)——view/modify the vm diagnostic options. * [getstatic](getstatic.md) - examine class's static properties -* **New!** [ognl](ognl.md) - execute ongl expression -* **New!** [mbean](mbean.md) - show Mbean information +* [ognl](ognl.md) - execute ongl expression +* [mbean](mbean.md) - show Mbean information +* [heapdump](heapdump.md) - dump java heap in hprof binary format, like `jmap` ## class/classloader diff --git a/site/src/site/sphinx/en/commands.md b/site/src/site/sphinx/en/commands.md index 44491fe4f..4e18c4745 100644 --- a/site/src/site/sphinx/en/commands.md +++ b/site/src/site/sphinx/en/commands.md @@ -42,6 +42,7 @@ All Commands * version - print out Arthas's version * history - view command history * quit - exit the current Arthas client without affecting other clients +* stop - the same as `shutdown` command * 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.