自定义weblogic应用启动停止脚本
$ tail -300 midplat_start.shnohup sh /home/bea1/base_domain/startWebLogic.sh >nohup.out 2>&1 &
tail -f nohup.out
$ tail -300 stopMidplat.sh
kill -9 `ps -ef|grep weblogic|grep bea1|grep -v grep|awk '{print $2}'`$
$ ps -ef|grep weblogic|grep bea1
bea1 701869800 17:42 pts/1 00:00:00 grep weblogic
bea1 25618 255800 Aug15 ? 00:07:04 /usr/java/jdk1.5.0_19/bin/java -client -Xdebug -Xnoagent -Xrunjdwp:transport=dt_socket,address=8453,server=y,suspend=n -Djava.compiler=NONE -Xms4g -Xmx4g -XX:PermSize=1g -XX:MaxPermSize=1g -XX:CompileThreshold=8000 -XX:PermSize=1g -XX:MaxPermSize=4g -Xverify:none -Xverify:none -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dfile.encoding=GBK -Dibm.stream.nio=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dfile.encoding=GBK -Dibm.stream.nio=true -Xverify:none -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dfile.encoding=GBK -Dibm.stream.nio=true -Dweblogic.management.discover=true -Dwlw.iterativeDev= -Dwlw.testConsole= -Dwlw.logErrorsToConsole= -Dweblogic.ext.dirs=/home/beaadmin/bea/patch_weblogic923/profiles/default/sysext_manifest_classpath -Dweblogic.Name=AdminServer -Djava.security.policy=/home/beaadmin/bea/weblogic92/server/lib/weblogic.policy weblogic.Server
$ ps -ef|grep weblogic|grep bea1|grep -v grep|awk '{print $2}'
25618
页:
[1]