Systems

Mini OS Sim

A Python simulator of a mini OS CPU scheduler that runs Round Robin, SJF, SRTF, priority and FCFS scheduling over the same set of processes. Each run prints a Gantt chart with turnaround and waiting times, and a self-check tests every algorithm against a hand-computed 4-process example.

Stack
Python, Shell
Code
github.com/ADM1SH/cpu-scheduling-simulator

Overview

Install

Easiest: run script:

./run.sh

Or directly with Python:

python3 scheduler.py

Either way, you’ll be asked whether to enter processes manually or use the built-in sample set, then shown a menu to run any single algorithm or all six at once (g).

Docs

The full documentation covers how it works, configuration and results.