0% found this document useful (0 votes)
5 views

Exp2 Distributed Systems

Uploaded by

iitjee.prime
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Exp2 Distributed Systems

Uploaded by

iitjee.prime
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

मोतीलाल नेहरु राष्ट्रीय प्रौद्योगिकी संस्थान इलाहाबाद

प्रयािराज–२११००४ [भारत]
Motilal Nehru National Institute of Technology Allahabad
Allahabad-211004 [India]

Department of Computer Science and Engineering

Programme Name: B.Tech Semester: VII Branch: Computer Science & Engg
Course Code: CS17201 Course Name: Distributed Systems (Lab)

Experiment No. 2

Experiment Description
i) There are two nodes A and B. Write a program to determine CPU load of
node B from node A.
ii) Write a server C program using shared memory and semaphore (server
increments counter between sem_wait() and sem_post()). Create shared
memory using mmap.
iii) Write a client C program that reads counter value between sem_wait() and
sem_post(). Access shared memory using open().

You might also like