Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Nikhil190804/SimpleShell-And-Scheduler-In-C

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
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

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.