Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tapaswenipathak committed Aug 6, 2018
1 parent bcb061e commit bcdb103
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions FCFS/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
##First Come First Server CPU scheduling algorithm.
## First Come First Server CPU scheduling algorithm

##Output
## Output
![Image] (http://i.gyazo.com/57762883b8da4a91f9505165b8be7aef.png)
2 changes: 1 addition & 1 deletion PBS/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Priority Based CPU Scheduling Algorithm
======

##Output
## Output
![Image] (http://i.gyazo.com/78fa658941f881270eb21ac471457246.png)
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,32 +24,32 @@ To use this code you need to install some packages and libraries which will enab

2. Download [libgraph](http://download.savannah.gnu.org/releases/libgraph/libgraph-1.0.2.tar.gz).

```bash
```bash

tar -xvzf libgraph-1.0.2
tar -xvzf libgraph-1.0.2

cd libgraph-1.0.2
cd libgraph-1.0.2

./configure
./configure

sudo make
sudo make

sudo make install
sudo make install

sudo cp /usr/local/lib/libgraph.* /usr/lib
sudo cp /usr/local/lib/libgraph.* /usr/lib

```
```

## Compile and Run
0. Compile and run the source code files.

```bash
```bash
gcc generatepid.c struct.h graphics.c main.c -lgraph
gcc generatepid.c struct.h graphics.c main.c -lgraph
./a.out
./a.out
```
```

1. Enter the number of process and view how these CPU scheduling algorithm works. Everything will be genrated randomly.

0 comments on commit bcdb103

Please sign in to comment.