自定义weblogic应用启动停止脚本


[bea1@linux103 base_domain]$ tail -300 midplat_start.sh
nohup sh /home/bea1/base_domain/startWebLogic.sh >nohup.out 2>&1 &
tail -f nohup.out


[bea1@linux103 base_domain]$ tail -300 stopMidplat.sh
kill -9 `ps -ef|grep weblogic|grep bea1|grep -v grep|awk '{print $2}'`[bea1@linux103 base_domain]$


[bea1@linux103 base_domain]$ ps -ef|grep weblogic|grep bea1
bea1 7018 6980 0 17:42 pts/1 00:00:00 grep weblogic
bea1 25618 25580 0 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

[bea1@linux103 base_domain]$ ps -ef|grep weblogic|grep bea1|grep -v grep|awk '{print $2}'
25618
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值