A mechanism used to run a program in the background, without input from a terminal or from the user. Also called detached processing.
To start a background process, end the command line with the ampersand (&); you do not have to wait for this background processing.
Both the Bourne shell and the C shell slow background processing, and on Unix systems with job control, the C and Korn shells provide additional commands for manipulating background processing.
If you forget to run a program in the background, you can stop it too. Using bg command to put the program into the background and restart it. You can bring the current background job to the foreground with the fg command, and if you have lots of jobs running at the same time, use the jobs command to list them by job number.
The best candidates for background processing are programs that do not require input from you, and those that do not write to the screen. If a program running in the background needs to be input from the keyboard, it stops and waits for that input, and it will wait and wait until you finally provide the input. A program that writes to the screen will do so even from the background, and if you are in the middle of doing something else, you may not be able to make sense of the output to a file and look at it later.
When putting several programs separated by semicolons into the background using the shell, remember to group them using parentheses; the shell puts the last command on the line into the background but always waits for the first.
Any background processes you have running are usually terminated when you log out from the terminal. Use the nohup command to avoid this, or set up the job using cron and at.
If you need more help and guidance then you can join our Oracle DBA forums and start to take advantage.
When you want to make a strong Oracle DBA career then you should be aware of database services and other database technology. Without having knowledge of Oracle internals, Oracle performance tuning, and skill of Oracle database troubleshooting you can’t be an Oracle DBA expert.
This expert DBA Team club blog always provides you latest technology news and database news to keep yourself up to date. You should need to be aware of Cloud database technology like DBaaS. All Oracle DBA tips are available in a single unique resource at our orageek. Meanwhile, we are also providing some sql tutorials for Oracle DBA. This is the part of Dbametrix Group and you would enjoy more advanced topics from our partner resource.