Skip to content

This is a simple shell and scheduler built in C language. Simple Shell provides the user with a command line interface to submit jobs (processes) and then after certain time scheduler runs those jobs in a round robin fashion.

Notifications You must be signed in to change notification settings

Nikhil190804/SimpleShell-And-Scheduler-In-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Overview

This project consists of two C programs: a scheduler and a shell. The scheduler is responsible for managing the execution of various tasks, and the shell serves as an interface for interacting with the scheduler. This README provides an overview of the project and instructions on how to compile, run, and use the programs.

Scheduler

The scheduler program is responsible for managing the execution of tasks or processes. It uses a scheduling algorithm to determine the order in which tasks are executed. Details about the scheduling algorithm used, data structures, and program flow can be found in the design document (design.md).

Compilation and Execution

To compile the scheduler program, use the following command:

gcc scheduler.c -o scheduler

To run the scheduler program, use the following command:

./scheduler <num_of_cpu> <time_slice>

Shell

The shell program serves as an interactive interface for users to submit tasks to the scheduler, monitor task status, and perform other related actions. Details about the shell's features, supported commands, and program flow can be found in the design document (design.md).

Compilation and Execution

To compile the shell program, use the following command:

gcc shell.c -o shell

To run the shell program, use the following command:

./shell <num_of_cpu> <time_slice>

About

This is a simple shell and scheduler built in C language. Simple Shell provides the user with a command line interface to submit jobs (processes) and then after certain time scheduler runs those jobs in a round robin fashion.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published