Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Assignment
General Control Flow/fork()
int main(int argc,char** argv){
.....
for(i = 0;i < 4;i++){
int ret_pid = fork();
if ( ret_pid < 0 ) exit(1); //this means fork() failed
else if ( ret_pid == 0 ) ! //this is the child
else ... //this is the parent (Controller)
}
return 0;
execlp()
Same thing applies when using exec, you just have to be explicit about it.
More execlp() and parameters
This is because the argument list must be null-terminated, just like any other string.
Makefiles
Makefile example
[target] : [dependency1] ! [dependencyn] [command to execute]
SSTF stands for Abbreviation of SSTF is Shortest-Seek-time-first scheduling
Define approaches that require knowledge of the system state? Answer: Deadlock detection, Deadlock prevention, Deadlock Avoidance.
What is page fault and what are the steps taken by the OS to remove page fault? A page fault is caused while a page that hasn't been brought into memory is being addressed. The
How can an index file be used to speed up the access in direct-access files? Have an index in memory; the index gives the key and the disk location of its corresponding record.
Assume there are only 4 page frames in the physical memory, for the following reference string: 1, 2, 3, 4, 5, 3, 4, 1, 6, 7, 8, 7, 8, 9, 7, 8, 9, 5, 4, 5, 4, 2, 8. a) What i
What is process control block? Every process is represented in the OS by a process control block. It has many pieces of information associated with an exact process.
. A paper mill produces two grades of paper viz., X and Y. Because of raw material restrictions, it cannot produce more than 400 tons of grade X paper and 300 tons of grade Y paper
Q. Is there any way to execute truly stable storage? Describe your answer. Answer: Truly steady storage would never lose data. The fundamental technique for steady storage is
What is the hardware support required to implement paging? Each operating system has its own techniques for storing page tables. The majority allocates a page table for each pr
Explain in detail about ipc in linux
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd