CS 3733 Operating Systems, Spring 2003 Assignment 5

This is the procedure for demonstrating your Part 4 in the lab on Thursday, April 24 at 12:30 PM.

If you have not completed Part 4, just fill in the cover sheet and hand me your assignment in the lab.
Be sure to fill in the information at the bottom of the cover page.
You are then free to go.


Open three non-overlapping windows.

  1. In windows 1 and 2, get into a directory containing your sleeper, readex and servertester executables.
  2. Download the file infile4 to this directory.
    (Shift-click on the link and save it in that directory.)
  3. In window 3, log into a different machine (using ssh) and get into a directory containing your license_manager executable.
  4. In window 3, start your license_manager with three licenses.
  5. In window 2, execute servertester with last parameter 0 to display the number of available licenses.
  6. In window 1, execute readex with standard input redirected to come from infile4.
  7. Convince yourself that this is working correctly.
  8. In window 3, kill your license_manager program.
  9. In window 3, start your license_manager again as in step 4.
  10. In window 2, run servertester again as in step 5.
  11. In window 1, be prepared to start readex again as before.
  12. Wait for me to come by and test your program.
  13. Hand me your assignment 5 printout.
  14. After I test your program, print the output generated by running readex when I tested your program.
  15. Log out and let someone else use your machine.
  16. Put your name on the new printout and give it to me.
    You are now free to go.