; PCB List Script file ; ; Create a few processes: ; start ps 2 start vi 5 start ls 2 ; Check status of some processes: ; ps 1 ps 2 ; Fire up a process: switch ps 0 ; Context switch: switch ps 0 ps 1 ; Create another process: start clear 4 ; Cycle the process list: switch switch switch ps all ; Kill some processes: kill 3 ps 3 ps 0 kill 0 ps 0 ; Who's left? ps all ; Quit: exit