Programmer: Bill McQuain CS 1704: Process Control Block List -------------------------------------------------------------------------------- Command: start ps 2 Process 0 added. -------------------------------------------------------------------------------- Command: start vi 5 Process 1 added. -------------------------------------------------------------------------------- Command: start ls 2 Process 2 added. -------------------------------------------------------------------------------- Command: ps 1 vi 1 ELIGIBLE 5 -------------------------------------------------------------------------------- Command: ps 2 ls 2 ELIGIBLE 2 -------------------------------------------------------------------------------- Command: switch Process 0 now in run mode. -------------------------------------------------------------------------------- Command: ps 0 ps 0 RUNNING 2 -------------------------------------------------------------------------------- Command: switch Process 1 now in run mode. -------------------------------------------------------------------------------- Command: ps 0 ps 0 ELIGIBLE 2 -------------------------------------------------------------------------------- Command: ps 1 vi 1 RUNNING 5 -------------------------------------------------------------------------------- Command: start clear 4 Process 3 added. -------------------------------------------------------------------------------- Command: switch Process 2 now in run mode. -------------------------------------------------------------------------------- Command: switch Process 0 now in run mode. -------------------------------------------------------------------------------- Command: switch Process 3 now in run mode. -------------------------------------------------------------------------------- Command: ps all clear 3 RUNNING 4 vi 1 ELIGIBLE 5 ls 2 ELIGIBLE 2 ps 0 ELIGIBLE 2 -------------------------------------------------------------------------------- Command: kill 3 Process 3 removed. -------------------------------------------------------------------------------- Command: ps 3 Process not found: 3 -------------------------------------------------------------------------------- Command: ps 0 ps 0 ELIGIBLE 2 -------------------------------------------------------------------------------- Command: kill 0 Process 0 removed. -------------------------------------------------------------------------------- Command: ps 0 Process not found: 0 -------------------------------------------------------------------------------- Command: ps all vi 1 ELIGIBLE 5 ls 2 ELIGIBLE 2 -------------------------------------------------------------------------------- Command: exit Exiting script execution. --------------------------------------------------------------------------------