Question: provide me the exact code which will provide me this type of an output. Please please give all the code correctly. Make sure include all

provide me the exact code which will provide me this type of an output. Please please give all the code correctly. Make sure include all the files and must makefile. Code must bbe in C language. This is an example output.
./oss -n 3-s 2-t 3-i 0
option: n =3
option: s =2
option: t =3
WORKER PID:872105 PPID:872104 SysClockS:0 SysClockNano:514000 TermTimeS:3 TermTimeNano:18000
--Starting Up!
WORKER PID:872106 PPID:872104 SysClockS:0 SysClockNano:560000 TermTimeS:3 TermTimeNano:65000
--Starting Up!
OSS PID:872104 SysClockS:0 SysClockNano:750000000
Process Table:
Entry Occupied PID StartS StartN
0187210501000
1187210602000
20000
At this point we see we have a limit of -s of 2 and indeed two processes were launched and see see them in the table
OSS PID:872104 SysClockS:1 SysClockNano:1000
WORKER PID:872105 PPID:872104 SysClockS:1 SysClockNano:1000 TermTimeS:3 TermTimeNano:18000
WORKER PID:872106 PPID:872104 SysClockS:1 SysClockNano:1000 TermTimeS:3 TermTimeNano:65000
Process Table:
--1 seconds have passed since starting.
Entry Occupied PID StartS StartN
0187210501000
1187210602000
20000
30000
--1 seconds have passed since starting.
OSS PID:872104 SysClockS:1 SysClockNano:500001000
Process Table:
Entry Occupied PID StartS StartN
0187210501000
1187210602000
20000
30000
40000
OSS PID:872104 SysClockS:2 SysClockNano:1000
WORKER PID:872106 PPID:872104 SysClockS:2 SysClockNano:1000 TermTimeS:3 TermTimeNano:65000
WORKER PID:872105 PPID:872104 SysClockS:2 SysClockNano:1000 TermTimeS:3 TermTimeNano:18000
Process Table:
Entry Occupied PID StartS StartN
--2 seconds have passed since starting.
0187210501000
1187210602000
20000
30000
40000
50000
--2 seconds have passed since starting.
OSS PID:872104 SysClockS:2 SysClockNano:500001000
Process Table:
Entry Occupied PID StartS StartN
0187210501000
1187210602000
20000
30000
OSS PID:872104 SysClockS:3 SysClockNano:1000
WORKER PID:872106 PPID:872104 SysClockS:3 SysClockNano:1000 TermTimeS:3 TermTimeNano:65000
WORKER PID:872105 PPID:872104 SysClockS:3 SysClockNano:1000 TermTimeS:3 TermTimeNano:18000
Process Table:
--3 seconds have passed since starting.
--3 seconds have passed since starting.
Entry Occupied PID StartS StartN
0187210501000
1187210602000
20000
3000

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!