What is an advantage of executing a process in background?
Answers were Sorted based on User's Feedback
Answer / vishal
there r two main advantage :
1.you can use console to execute your command.
2.More importantlly if one is connected through remote
console and as there is no controlling terminal attached to
background process even if your teminal get disconnected
the process continues (with help of nohup in shell script
or by using setsid in C)
Is This Answer Correct ? | 17 Yes | 1 No |
Answer / jolly
If a process is running in background then the same process
will continue to run on the Unix server without any
communication with the front console.
the console can be reused.
Is This Answer Correct ? | 13 Yes | 1 No |
What are the system calls used for process management:
What is IPC? What are the various schemes available?
What is ln(linking)?
How to know whether the message queue is empty or not.
Which ipc is faster?
what is the very first process created by kernell
Explain how do you execute one program from within another?
What is a Daemon?
What is the condition required for dead lock in unix system?
What are the various schemes available in ipc?
How to write the program on full-duplex communication on biderctional(e.g using two pipes)
what is the condition required for dead lock in unix sustem ?