CP386: Process Scheduling Simulator
Interactive demonstration of process states, PCB information, scheduling, I/O waiting, context switching, and termination.
CPU and Scheduling Queues
Simplified Process State Model
NEW
READY
RUNNING
WAITING
TERMINATED
Watch the highlighted state for the process currently selected by the simulator.
Conceptual Process Memory
Text
PC 0: LOAD AX, 0
instruction currently selected by the process
Data / BSS
sharedData = 0
simulated global/shared variable
Heap ↑
heap[0] = 0
simulated dynamically allocated value
Free Space
available = 896 KB
illustrative unused virtual space
Stack ↓
PID 1 | local AX=0 | return PC=1
selected process local/call-state example
OS Process Table / PCB View
| PID |
State |
PC |
AX |
BX |
Parent |
CPU ticks |
Ready
Running
Waiting
Terminated