while :
do
state=`java -classpath /.../wlserver_10.3/server/lib/weblogic.jar weblogic.Admin -url t3://ip_address:port -username "username" -password "password" GETSTATE| cut -d\: -f2`
if [[ "$state" == *RUNNING* ]];
then
break
else
sleep 5
fi
done
'Programming > Shell Script' 카테고리의 다른 글
Perl 스크립트 (0) | 2013.10.11 |
---|---|
디렉토리별 파일 개수 확인 (0) | 2013.10.02 |