Skip to content

Commit e41ec4e

Browse files
committed
improve message
1 parent 44ee567 commit e41ec4e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

show-busy-java-threads.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,8 @@ printStackOfThread() {
9999
continue
100100
}
101101
}
102-
103-
redEcho "The stack of busy(${pcpu}%) thread(${threadId}/0x${threadId0x}) of java process(${pid}) of user(${user}):"
102+
103+
redEcho "Busy(${pcpu}%) thread(${threadId}/0x${threadId0x}) stack of java process(${pid}) under user(${user}):"
104104
sed "/nid=0x${threadId0x}/,/^$/p" -n ${jstackFile}
105105
done
106106
}

0 commit comments

Comments
 (0)