Process Model & PCB Structure
Visualize process state transitions between New Ready Running Waiting Terminated with context switch animations and PCB inspection.
Process State Diagram
Process Table
No processes. Choose a preset or Fork a new process.
Transition Event Log
No events yet. Start the simulation.
PCB Inspector
Click a process in the table or state diagram to inspect its PCB
Ready Queue
Empty
State Summary
Waiting (I/O Blocked)
No blocked processes
CPU Utilization
Start simulation to track
New: Process just created, awaiting admission to the ready queue.
Ready: Waiting for CPU time in the ready queue, ordered by priority.
Running: Currently executing instructions on the CPU.
Waiting: Blocked on I/O or event completion. Cannot run until I/O finishes.
Terminated: Finished execution, resources being reclaimed by the OS.
Context Switch: Saving the PCB of the current process and loading another. Involves saving/restoring registers, program counter, and memory mappings.
PCB: Process Control Block stores all information needed to manage a process: PID, state, registers, memory bounds, scheduling info.