Question: Question 3 Write a simple program to create three processes using fork ( ) commands. Use any THREE ( 3 ) of the six system
"Question
Write a simple program to create three processes using fork commands. Use any THREE of the six system calls to show how each child process executes new subprograms using execs minions.
Show the output of each of the child process with different data samples.
Marks
Question
Compare the bus topology and the star topology. Draw a complete diagram for any given environment for each of the LAN topology.
Using your own assumptions and scenario for each topology to illustrate the concept. Provide the details requirements including the hardware and infrastructure to setup the proposed solution.
Marks
Question
Write XB a simple program in your Linux environment using C to identify PID, PPID and GID for the processes created in Question and display the real and effective user ID
Marks
Modify the program you wrote for Question and include the alarm system call to kill one of the processes that you had created in second.
Marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
