Operating-System-Functions-OS255

This repository contains implementation of operating system functions and concepts.

Table of Contents
  • Summary
  • Prerequisites and Techstack
  • Steps for execution
  • Usage
  • Contributing

  • Summary

    This repo contains codes for various operating system functions and concepts, like scheduling, pipes, fork-wait, threads etc.

    Here is the structure of the project repository: Repository Structure
    Operating-System-Functions/
    ├── Operating_System/   # Main Folder             
    │   ├── Fork_Wait_Exec/
    │   │   ├── example1.c
    │   │   ├── example1a.c
    │   │   ├── example2.c
    │   │   ├── example3.c
    │   │   └──example4.c      
    │   ├── Pipes/
    │   │   ├── demo_pipe.c
    │   │   ├── fifo_read.c
    │   │   ├── fifo_write.c
    │   │   ├── msgq_read.c
    │   │   ├── msgq_write.c
    │   │   ├── shm_read.c
    │   │   └── shm_write.c
    │   ├── Processes/
    │   │   ├── orphan.c
    │   │   ├── welcome.c
    │   │   └── zombie.c  
    │   ├── Programming_Exercise/
    │   │   ├── P1/
    │   │   │   ├── p1_q3.c
    │   │   │   └── sum.c
    │   │   └── P2_P3_P4_P5/
    │   │   │   ├── p2.c
    │   │   │   ├── p3.c
    │   │   │   ├── p4.c
    │   │   │   └── p5.c
    │   ├── Scheduling_codes/
    │   │   ├── fcfs.c
    │   │   ├── priority.c
    │   │   ├── round_robin.c
    │   │   ├── sjf.c
    │   │   └── srtf.c
    │   ├── Threads/
    │   │   ├── demo_threads.c
    │   │   └── demo_threads_tb.c  
    │   └── LICENSE        
    ├── README.md           # Repository README
    ├── .gitignore          # Git ignore file
    └── .gitattributes      # Git attributes file 
    

    (back to top)


    Prerequisites and Techstack

    • C
    • Operating system concepts

    (back to top)


    Steps for execution

    1. Clone the 'Operating-System-Functions' github repository.
    git clone https://github.com/ankitacoder3/Operating-System-Functions.git 
    1. Navigate to the 'Operating_System' Directory in that.
    cd Operating-System-Functions
    cd Operating_System
    1. Open the individual directories path in terminal. Say, open 'Processes' directory.
    cd Processes
    1. Type "gcc <-filename->" to execute the files in that directory. Say, run 'zombie.c'.
    gcc zombie.c

    (back to top)


    Usage

    • This shall provide a better understanding of operating system concepts.
    • This provides a practical approach for the operating system concepts.
    • image
    • image
    • image

    (back to top)


    Contributing

    1. Fork the Project
    2. Create your functions Branch (git checkout -b functions)
    3. Commit your Changes (git commit -m 'Add some Functions')
    4. Push to the Branch (git push origin functions)
    5. Open a Pull Request
    • License

    (back to top)