`

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 &

 

 

 

1
0
分享到:
评论

相关推荐

    Data Structures and Algorithm Analysis in C++ 4th 原版pdf by Weiss

    The fourth edition of Data Structures and Algorithm Analysis in C++ describes data structures, methods of organizing large amounts of data, and...programming, as well as some background in discrete math.

    C 语言编缉神经网络工具

    The software described in this User's Guide is that described in the chapter on Neural Network PC Tool Implementations in the book entitled Neural Network PC Tools: A Practical Guide, to be ...

    JSP Simple Examples

    In Jsp also we can set the background color which we want, the font color can be changed. The table can be coloured . By using the colors code we can give colors according to our wish. Sine Table in...

    FlexGraphics_V_1.79_D4-XE10.2_Downloadly.ir

    the number of selected items changed while the method was running. - ADD: Added the method TFlexControl.DoNeedHint - allows editing the displaying of hint for flex-object within the object. - ADD: ...

    数据结构与算法分析--C语言描述(英文第2版).chm

    In some cases, minute details that affect the running time of the implementation are explored.Once a solution method is determined, a program must still be written. As computers have become more ...

    曲线拟合工具CurveExpert 1.0

    + The scrollbar did not get reset to the top when the user read in a new data file. Fixed. + The structure of the code has been undergone some major changes to ease porting to Windows 95 and ...

    Python for Complete Beginners-Martin Jones(2017).pdf

    This book is an introduction to the Python programming language for complete beginners – those who have ...and running Python programs, then feel free to skip the Setting up your environment section.

    repast模型程序

    There is some background information about how the program works on my research blog. Referencing and Editing The code is released under the GNU General Public Licence so you're welcome to use the...

    Big Data, MapReduce, Hadoop, and Spark with Python

    A few “unicorns” have popped up in the past decade or so, promising to help solve the big data problems that billion dollar corporations and the people running your country can’t. It goes without...

    VB编程资源大全(英文源码 API)

    If you follow the logic of the program it does teach a lot about multithreading and the necessary techniques to do this in a 'Thread Safe environmen&lt;END&gt;&lt;br&gt;37,callback.zip This small project is ...

    数位板压力测试

    In the Windows environment, multiple applications that use the tablet may be running at once. Each ap-plication will require different services. Applications must be able to get the services they need...

    微软内部资料-SQL性能优化3

    In our example, if one transaction (T1) holds an exclusive lock at the table level, and another transaction (T2) holds an exclusive lock at the row level, each of the transactions believe they have ...

    Python 2.6 Graphics Cookbook.pdf

    To run the code in this book, the reader will need a Linux operating system or Microsoft Windows, and some way of downloading Python, the Python Imaging Library, and Inkscape from the internet. All ...

    win 3.11 for workgroup tcpip支持

    DHCP will (in the background) continue to try to acquire a valid lease while Windows for Workgroups continues to run (although you will not have TCP/IP functionality). If you are running with DHCP ...

    Google C++ Style Guide(Google C++编程规范)高清PDF

    Header Files The #define Guard Header File Dependencies Inline Functions The -inl.h Files Function Parameter Ordering Names and Order of Includes Scoping Namespaces Nested Classes Nonmember, Static ...

    Efficient MIDP Programming

    - **Background Processing**: Perform networking tasks in the background to avoid blocking the UI. #### 5. Perceived Performance Perceived performance refers to how users perceive the speed and ...

Global site tag (gtag.js) - Google Analytics