From 7061d8e73ed17693641d6bebc81cd9f3ebb91e06 Mon Sep 17 00:00:00 2001 From: hengyunabc Date: Wed, 19 Apr 2023 11:32:31 +0000 Subject: [PATCH] Prettified Code! --- site/docs/doc/heapdump.md | 1 + site/docs/doc/mbean.md | 4 ++-- site/docs/doc/vmtool.md | 2 +- site/docs/en/doc/heapdump.md | 1 + site/docs/en/doc/vmtool.md | 3 +-- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/site/docs/doc/heapdump.md b/site/docs/doc/heapdump.md index 322ec70b5..1e7827cd1 100644 --- a/site/docs/doc/heapdump.md +++ b/site/docs/doc/heapdump.md @@ -19,6 +19,7 @@ Heap dump file created ::: tip 生成文件在`arthas-output`目录,可以通过浏览器下载: http://localhost:8563/arthas-output/ ::: + ### 只 dump live 对象 ```bash diff --git a/site/docs/doc/mbean.md b/site/docs/doc/mbean.md index 6e2796cc0..4980ed776 100644 --- a/site/docs/doc/mbean.md +++ b/site/docs/doc/mbean.md @@ -67,8 +67,8 @@ mbean -E java.lang:type=Threading PeakThreadCount|ThreadCount|DaemonThreadCount mbean -i 1000 java.lang:type=Threading *Count ``` -实时监控使用`-i`,使用`-n`命令执行命令的次数(默认为100次): +实时监控使用`-i`,使用`-n`命令执行命令的次数(默认为 100 次): ```bash mbean -i 1000 -n 50 java.lang:type=Threading *Count -``` \ No newline at end of file +``` diff --git a/site/docs/doc/vmtool.md b/site/docs/doc/vmtool.md index f419e8644..a173b6569 100644 --- a/site/docs/doc/vmtool.md +++ b/site/docs/doc/vmtool.md @@ -96,4 +96,4 @@ thread id 通过`-t`参数指定,可以使用 `thread`命令获取。 ```bash vmtool --action interruptThread -t 1 -``` \ No newline at end of file +``` diff --git a/site/docs/en/doc/heapdump.md b/site/docs/en/doc/heapdump.md index 3fcb9a602..9bdcf5495 100644 --- a/site/docs/en/doc/heapdump.md +++ b/site/docs/en/doc/heapdump.md @@ -19,6 +19,7 @@ Heap dump file created ::: tip The generated file is located in the arthas-output directory and can be downloaded through the browser at http://localhost:8563/arthas-output/ ::: + ### Dump only live objects ```bash diff --git a/site/docs/en/doc/vmtool.md b/site/docs/en/doc/vmtool.md index 2bbd7d80f..6bd2f9a81 100644 --- a/site/docs/en/doc/vmtool.md +++ b/site/docs/en/doc/vmtool.md @@ -90,11 +90,10 @@ vmtool --action forceGc - Use the [`vmoption`](vmoption.md) command to dynamically turn on the `PrintGC` option. - ## interrupt 指定线程 The thread id is specified by the `-t` parameter. It can be obtained using the `thread` command. ```bash vmtool --action interruptThread -t 1 -``` \ No newline at end of file +```