Running program in the background

Running program in the background:

1. nohup <command> &;

e.g[1]+ Stopped startWebLogic.sh

[oracle@oardc-vm15 admin]$ 
 

 

nohup startWebLogic.sh &
 

 

 

2. <command>, then interaction with <command> such as provide user and password. after the interaction finished, the press CTRL+Z and input bg then <enter>

 

 e.g.

 

 

[oracle@oardc-vm15 admin]$ startWebLogic.sh
.
.
JAVA Memory arguments: -Xms256m -Xmx512m
.
WLS Start Mode=Production
.
CLASSPATH=:/u01/app/oracle/product/bea/patch_wlw1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/product/bea/patch_wls1030/profiles/default/sys_manifest_classpath/weblogic_patch.jar:/u01/app/oracle/product/bea
...

 

 

<Jan 15, 2010 5:19:12 AM CST> <Info> <Security> <BEA-090065> <Getting boot identity from user.>
Enter username to boot WebLogic server:weblogic
Enter password to boot WebLogic server:
<Jan 15, 2010 5:20:39 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to STARTING>
<Jan 15, 2010 5:20:39 AM CST> <Info> <WorkManager> <BEA-002900> <Initializing self-tuning thread pool>
<Jan 15, 2010 5:20:39 AM CST> <Notice> <Log Management> <BEA-170019> <The server log file /u01/app/oracle/product/bea/user_projects/domains/base_domain/servers/AdminServer/logs/AdminServer.log is opened. All server side log events will be written to this file.>
...
<Jan 15, 2010 5:22:00 AM CST> <Notice> <WebLogicServer> <BEA-000329> <Started WebLogic Admin Server "AdminServer" for domain "base_domain" running in Production Mode>
<Jan 15, 2010 5:22:00 AM CST> <Warning> <Server> <BEA-002611> <Hostname "oardc-vm15.cn.oracle.com", maps to multiple IP addresses: 10.182.113.81, 127.0.0.1>
<Jan 15, 2010 5:22:01 AM CST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to RUNNING>
<Jan 15, 2010 5:22:01 AM CST> <Notice> <WebLogicServer> <BEA-000360> <Server started in RUNNING mode>

 

  CTRL+Z

[1]+  Stopped                 startWebLogic.sh
[oracle@oardc-vm15 admin]$ bg
[1]+ startWebLogic.sh &

 

 

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值