3.1

Process Model & PCB Structure

Visualize process state transitions between New Ready Running Waiting Terminated with context switch animations and PCB inspection.

1.0x
Presets:
Total
0
Running
0
Ready
0
Waiting
0
Ctx Switches
0
Throughput
0.000
Tick
0

Process State Diagram

AdmittedCPU AssignedI/O RequestI/O CompleteInterruptExitNewReadyRunningWaitingTerminated

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

New
0
Ready
0
Running
0
Waiting
0
Terminated
0

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.