id:The id of the job 

(AT) arrival time: Arrival time of the job after start of simulation  

 (BT) computime: Computation time (CPU Burst time)

A sample input file looks like this: 

id,AT,BT

0,9,25

1,17,10

2,32,7

3,35,20

What a code should be by using C for Unix programming for following output condition? A command for every command’s work. Also include known bugs, limitations and assumptions. 

In the default mode (i.e., without the -v flag),

sched -F <filename> for FIFO

0  34 

1  44 

2  51 

3  71 

with the verbose flag:for FIFO

At time 9, job 0 READY

At time 9, job 0 READY->RUNNING

At time 17, job 1 READY

At time 32, job 2 READY

At time 34, job 0 RUNNING->TERMINATED

At time 34, job 1 READY->RUNNING

At time 35, job 3 READY

At time 44, job 1 RUNNING->TERMINATED

At time 44, job 2 READY->RUNNING

At time 51, job 2 RUNNING->TERMINATED

At time 51, job 3 READY->RUNNING

At time 71, job 3 RUNNING->TERMINATED

 
"Looking for a Similar Assignment? Get Expert Help at an Amazing Discount!"