0% found this document useful (0 votes)
3 views1 page

OS Lab Programs

The document outlines a series of operating system lab programs designed to demonstrate various concepts and system calls in Linux. These programs cover file handling, process management, inter-process communication, CPU scheduling algorithms, and synchronization problems. Each program serves as a practical exercise to reinforce theoretical knowledge in operating systems.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views1 page

OS Lab Programs

The document outlines a series of operating system lab programs designed to demonstrate various concepts and system calls in Linux. These programs cover file handling, process management, inter-process communication, CPU scheduling algorithms, and synchronization problems. Each program serves as a practical exercise to reinforce theoretical knowledge in operating systems.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

OS Lab Programs:-

[Link] is to demonstrate reading content from a device or file and display the
content on screen

[Link] for copying a file

[Link] to reposition the file offset on Linux using lseek( ) system call

[Link] to get the attributes of a file on Linux using stat ( ) system call

[Link] to Display Process information using process related system calls

[Link] to demonstrate the usage of fork system call

[Link] to demonstrate orphan process

[Link] to demonstrate zombie process

[Link] to demonstrate Exec() system call

[Link] to implement the concept of threads (SingleThread)

[Link] to implement the concept of multithreading

[Link] for echo server using pipes

[Link] to demonstrate IPC using message queues

[Link] to demonstrate usage of Shared Memory

[Link] to simulate CPU scheduling algorithm for first come first serve scheduling.

[Link] to simulate CPU scheduling algorithm for Shortest Job First Scheduling.

[Link] to simulate CPU scheduling algorithm for round robin Scheduling.

[Link] to demonstrate solution for producer consumer problem using semaphores

[Link] to demonstrate solution for readers writers problem using semaphores

[Link] for Dining philosopher problem using semaphores

[Link] to simulate Bankers Algorithm for Deadlock avoidance

[Link] to simulate First In First Out Page Replacement Algorithm

[Link] to simulate Least Recently Used Page Replacement Algorithm

[Link] to simulate implementation of FCFS disk scheduling algorithm

You might also like