You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: show-busy-java-threads.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -128,15 +128,15 @@ elif which jstack &> /dev/null; then
128
128
jstack_path="`which jstack`"
129
129
else
130
130
[ -z"$JAVA_HOME" ] && {
131
-
redPrint "Error: jstack not found on PATH!"1>&2
131
+
redPrint "Error: jstack not found on PATH! Use -s option set jstack path manually."1>&2
132
132
exit 1
133
133
}
134
134
! [ -f"$JAVA_HOME/bin/jstack" ] && {
135
-
redPrint "Error: jstack not found on PATH and \$JAVA_HOME/bin/jstack($JAVA_HOME/bin/jstack) file does NOT exists!"1>&2
135
+
redPrint "Error: jstack not found on PATH and \$JAVA_HOME/bin/jstack($JAVA_HOME/bin/jstack) file does NOT exists! Use -s option set jstack path manually."1>&2
136
136
exit 1
137
137
}
138
138
! [ -x"$JAVA_HOME/bin/jstack" ] && {
139
-
redPrint "Error: jstack not found on PATH and \$JAVA_HOME/bin/jstack($JAVA_HOME/bin/jstack) is NOT executalbe!"1>&2
139
+
redPrint "Error: jstack not found on PATH and \$JAVA_HOME/bin/jstack($JAVA_HOME/bin/jstack) is NOT executalbe! Use -s option set jstack path manually."1>&2
0 commit comments