Skip to content

Harsh63870/CPU-Scheduling-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CPU Scheduling Algorithms using Shell Scripting

A collection of Bash Shell Scripting programs, including CPU Scheduling Algorithm implementations and fundamental scripting concepts, designed to strengthen practical Linux and Operating Systems knowledge.

Overview

CPU Scheduling is one of the most important concepts in Operating Systems. This repository contains shell script implementations of various scheduling algorithms used to manage process execution in a computer system.

The project aims to provide a practical understanding of scheduling concepts such as:

  • Process Execution
  • Waiting Time
  • Turnaround Time
  • CPU Utilization
  • Scheduling Efficiency

Algorithms Implemented

  • First Come First Serve (FCFS)
  • Shortest Job First (SJF)
  • Priority Scheduling
  • Round Robin (RR)
  • Other scheduling algorithms included in the coursework
  • Some programming questions in bash

Technologies Used

  • Bash Shell Scripting
  • Linux / Unix Environment (WSL - UBUNTU)
  • Operating Systems Concepts

Getting Started

Clone the Repository

git clone https://github.com/your-username/cpu-scheduling-algorithms.git

Navigate to the Project Directory

cd cpu-scheduling-algorithms

Grant Execute Permissions

chmod +x *.sh

Run a Script

./filename.sh

Learning Outcomes

After working with these scripts, one can:

  • Understand different CPU Scheduling Algorithms.
  • Compare scheduling strategies.
  • Calculate waiting and turnaround times.
  • Gain practical experience with Shell Scripting.
  • Strengthen Operating Systems fundamentals.

Academic Purpose

This repository was created as part of Operating Systems laboratory coursework and is intended for educational and learning purposes.


⭐ If you found this repository helpful, consider giving it a star.

About

Operating System CPU scheduling algorithm .... shell .... bash ... /.sh

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors