Start and Stop Oracle Weblogic NodeManager Via Shell Alias

来源:互联网 发布:wp8离线软件下载 编辑:程序博客网 时间:2024/04/28 05:40


Start and Stop Oracle Weblogic NodeManager via Shell Alias
 This tip is to create two simple bash shell environment alias for starting and stoping Weblogic Node Manager. No script is needed.
 
 
Add the following two lines to your .bashrc file:
 Make sure you also define $WL_HOME for Weblogic Home directory first.
 
alias nstart='nohup $WL_HOME/server/bin/startNodeManager.sh localhost 5556 > $WL_HOME/common/nodemanager/nodemanager.out &'


alias nstop="kill -9  \`ps -ef | grep java | grep NodeManager |  awk '{print \$2;}'\`"

0 0
原创粉丝点击