When I use sh file to check a process after bootrun
echo "Check process $1" while true do "$JAVA_HOME/bin/jstack&