Prettified Code!

pull/2501/head
hengyunabc 2 years ago committed by GitHub Action
parent 2cc538848c
commit 7061d8e73e

@ -19,6 +19,7 @@ Heap dump file created
::: tip ::: tip
生成文件在`arthas-output`目录,可以通过浏览器下载: http://localhost:8563/arthas-output/ 生成文件在`arthas-output`目录,可以通过浏览器下载: http://localhost:8563/arthas-output/
::: :::
### 只 dump live 对象 ### 只 dump live 对象
```bash ```bash

@ -67,7 +67,7 @@ mbean -E java.lang:type=Threading PeakThreadCount|ThreadCount|DaemonThreadCount
mbean -i 1000 java.lang:type=Threading *Count mbean -i 1000 java.lang:type=Threading *Count
``` ```
实时监控使用`-i`,使用`-n`命令执行命令的次数默认为100次 实时监控使用`-i`,使用`-n`命令执行命令的次数(默认为 100 次):
```bash ```bash
mbean -i 1000 -n 50 java.lang:type=Threading *Count mbean -i 1000 -n 50 java.lang:type=Threading *Count

@ -19,6 +19,7 @@ Heap dump file created
::: tip ::: tip
The generated file is located in the arthas-output directory and can be downloaded through the browser at http://localhost:8563/arthas-output/ 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 ### Dump only live objects
```bash ```bash

@ -90,7 +90,6 @@ vmtool --action forceGc
- Use the [`vmoption`](vmoption.md) command to dynamically turn on the `PrintGC` option. - Use the [`vmoption`](vmoption.md) command to dynamically turn on the `PrintGC` option.
## interrupt 指定线程 ## interrupt 指定线程
The thread id is specified by the `-t` parameter. It can be obtained using the `thread` command. The thread id is specified by the `-t` parameter. It can be obtained using the `thread` command.

Loading…
Cancel
Save