Skip to content

Commit 73dfbfc

Browse files
author
Jerry Lee
committed
update doc
1 parent 9d287c4 commit 73dfbfc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/java.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
`Arthas`功能异常(😜)强劲,且在阿里巴巴线上支持使用多年。我自己也常用,一定要看看用用!
3636

37-
因为`Arthas`是通过`Agent`方式来连接运行的`Java`进程、主要通过交互式来完成功能,与之对应的脚本方式也有脚本方式的好处,如:
37+
`Arthas`是通过`Agent`方式来连接运行的`Java`进程、主要通过交互式来完成功能,与之对应的脚本方式也有其优势,如:
3838

3939
1. 可以在进程不能启动的情况下完成诊断(如依赖中的重复类分析、`ClassPath`上的资源或类查找)
4040
1. 开销少;简单少依赖(就纯文本的一个脚本文件)
@@ -137,7 +137,7 @@ jstack control:
137137
-m, --mix-native-frames set jstack to print both java and native frames (mixed mode).
138138
-l, --lock-info set jstack with long listing. Prints additional information about locks.
139139

140-
cpu usage calculation control:
140+
CPU usage calculation control:
141141
-d, --top-delay specifies the delay between top samples, default is 0.5 (second).
142142
get thread cpu percentage during this delay interval.
143143
more info see top -d option. eg: -d 1 (1 second).

show-busy-java-threads

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ jstack control:
115115
-m, --mix-native-frames set jstack to print both java and native frames (mixed mode).
116116
-l, --lock-info set jstack with long listing. Prints additional information about locks.
117117
118-
cpu usage calculation control:
118+
CPU usage calculation control:
119119
-d, --top-delay specifies the delay between top samples, default is 0.5 (second).
120120
get thread cpu percentage during this delay interval.
121121
more info see top -d option. eg: -d 1 (1 second).

0 commit comments

Comments
 (0)