Skip to content
This repository has been archived by the owner on Mar 5, 2019. It is now read-only.

marklai1998/cs3103-process-manager-assignment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

CS3103 Process Manager Assignment

Introduction

This repository is created for City University HK course CS3103 - Operating Systems programming assignment 1
All credit goes to: Mark Lai

Assignment Requirement

Aim to create a text base linux app which manage a single background application
If the user types: bg foo, PMan will start the program foo in the background
and print out the process id (pid) of foo. Also give the prompt to accept more commands.

PMan only allows one program running in the background.
If the background process foo is still running, PMan will not accept any further bg command.
In other words, if there is a background process is still running, when the user types bg test2
PMan should print There is a background process still running.

Getting Started

  1. Clone the repository

  2. Compile the cpp file

$ g++ main.cpp -o PMan
  1. Start the project
$ ./PMan

About

CS3103 - Operating Systems assignment 1

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages