summaryrefslogtreecommitdiff
path: root/documents
diff options
context:
space:
mode:
authorzijiang.hzj <[email protected]>2021-01-22 14:50:56 +0800
committerzijiang.hzj <[email protected]>2021-01-22 15:01:00 +0800
commit438f95503c6f0ff63c0ab86e2543bf4b5acf1736 (patch)
treed8ae1ca503b7323a4b784f3136fef9934b4d48ef /documents
parent0b8caea778c0dd46b6e7c241691eac2cae6ea37d (diff)
rw-top:功能完善,包含:
1)out: 支持raw-stack输出到指定文件 2)in: 支持单个解析1)输出的raw-stack文件 3)inlist: 支持raw-stack文件列表输入来解析多个raw-stack文件 4)console: 支持从控制台读取多个raw-stack文件列表,来解析多个raw-stack文件
Diffstat (limited to 'documents')
-rw-r--r--documents/rw-top.md21
1 files changed, 20 insertions, 1 deletions
diff --git a/documents/rw-top.md b/documents/rw-top.md
index b31a809..27838b6 100644
--- a/documents/rw-top.md
+++ b/documents/rw-top.md
@@ -16,7 +16,12 @@ diagnose-tools rw-top --help
shm set 1 if want dump shm
perf set 1 if want perf detail
--deactivate
- --report dump log with text.
+ --report dump log with text
+ out output raw stack into special file
+ in input one raw-stack file to extract
+ inlist input filename including raw-stack file list to extract
+ input filename including raw-stack file list to extract
+ console get raw-stack file list from console to extract
--log
sls=/tmp/1.log store in file
syslog=1 store in syslog.
@@ -90,6 +95,20 @@ diagnose-tools rw-top --report
1 0 66375 0 66375 vda1 /apsarapangu/tmp.txt
```
输出结果中,包含了写数量排名前100名的文件名/读写长度。
+
+### 输出raw-stack到文件
+执行如下命令查看本功能的输出结果:
+```
+diagnose-tools rw-top --report="out=xxx.raw"
+```
+
+### 解析raw-stack文件的符号表
+执行如下命令查看本功能的输出结果:
+```
+diagnose-tools rw-top --report="in=xxx.raw"
+```
+
+输出raw-stack到文件
### 关闭功能
通过如下命令关闭本功能:
```