File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ useful-shells
33
44把平时有用的手动操作做成脚本,这样可以便捷的使用。
55
6- busy-java-threads.sh
7- =======================
6+ show- busy-java-threads.sh
7+ ==========================
88
99在排查` Java ` 的` CPU ` 性能问题时,需要找到消耗` CPU ` 的线程,查看它的线程栈。
1010
@@ -13,7 +13,7 @@ busy-java-threads.sh
1313示例:
1414
1515``` bash
16- $ ./busy-java-threads.sh
16+ $ ./show- busy-java-threads.sh
1717The stack of busy(0.0%) thread(30509/0x772d) of java process(29213) of user(foo):
1818" Attach Listener" daemon prio=10 tid=0x0000000042171800 nid=0x772d waiting on condition [0x0000000000000000]
1919 java.lang.Thread.State: RUNNABLE
@@ -31,7 +31,7 @@ The stack of busy(0.0%) thread(29230/0x722e) of java process(29213) of user(foo)
3131
3232
3333find-in-jars.sh
34- ===================
34+ ==========================
3535
3636在当前目录下所有` Jar ` 文件里,查找文件名。
3737
Original file line number Diff line number Diff line change 33# Find the High cpu consume thread of java, and print the stack of these threads.
44#
55# @Usage
6- # $ ./busy-java-threads.sh
6+ # $ ./show- busy-java-threads.sh
77#
88# @author Jerry Lee
99
You can’t perform that action at this time.
0 commit comments