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
生成文件在`arthas-output`目录,可以通过浏览器下载: http://localhost:8563/arthas-output/
:::
### 只 dump live 对象
```bash

@ -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
```
```

@ -96,4 +96,4 @@ thread id 通过`-t`参数指定,可以使用 `thread`命令获取。
```bash
vmtool --action interruptThread -t 1
```
```

@ -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

@ -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
```
```

Loading…
Cancel
Save