Skip to content

NIT-Hamirpur-CSE-Labs/Advanced_OS_lab

Repository files navigation

Advanced_OS_Lab

Advanced OS Lab - 7th semester

Lab 1 -

  1. Study about socket programming.
  2. Study about OS and kernels.

Lab 2 -

  1. Write a program to implement a distributed chat server using TCP socket.
  2. Write a program to implement client server RPC and client server based program using RMI.
  3. Write a multi threaded client server program.
  • Compiling -
    gcc Lab_2_server.c -o server
    gcc Lab_2_client.c -o client

  • Running -
    Run simultaneously in 2 tabs of a same computers (with IP 127.0.0.1) OR of 2 different computers (update IP)
    ./server
    ./client

Lab 3 -

  1. Study about Common Object Request Broker Architecture (CORBA).

Lab 4 -

  1. Write a program to simulate the functioning of lamports logical clock and lamports vector clock.
  2. Write a program to implement Christian's Algorithm and Berkeley Algorithm.
  • Running -
  1. Lamport logical clock -
    gcc lamport_logical_clock.c
    ./a.out < lamport_logical_clock_input

Lab 5 -

  1. Write a program to implement Christian Algorithm.
  2. Write a program to implement Vector Clock.
  • Running -
    g++ program.cpp
    ./a.out

About

Advanced Operating Systems Lab - 7th semester

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy