Skip to content

The project is to write a program that simulates the service of jobs (process) by the CPU of a multi-user computer. Inputs is taken from text file with command arguments. And results also is written to output file and screen.

License

Notifications You must be signed in to change notification settings

muhammadqazi/Operating-System

Repository files navigation

Operating-System

Project Outline :

Program that simulates the service of jobs (process) by the CPU of a multi-user computer. Inputs should be taken from text file with command arguments. And results also should be written to output file and screen.

Setup

For some machines it needs sudo permission

g++ main.cpp -o main
./main -f input.txt -o output.txt   

To run the program two flags are required from the user -f which is to get input for program and -o to store the output result from the program.

**Input.txt

Input file data should be in the following format :

bursty_time : arrival_time : priority

About

The project is to write a program that simulates the service of jobs (process) by the CPU of a multi-user computer. Inputs is taken from text file with command arguments. And results also is written to output file and screen.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages