Spring 2001 -- ECES 338

Introduction to Operating Systems

Thursday 1:15-2:10pm



Contents
Benjamin Karas
bjk4@po.cwru.edu
Tippit 430E; 754-2004

Thursday Recitation

Other Recitations

Recitation Pages:

Title More
List of students in this recitation [ html ]
Last year's recitation page: http://vorlon.cwru.edu/~bjk4/338.2000/ (broken links) [ html ]

Announcements:

Date Subject More
04-02-2001 There's a typo in the example symsignal() code available on Dr Tekin's homepage. The {0,-1,0} should be {0,1,0} for signal. (from Eagle-eyed Michael Curtiss) [ ---- ]
04-01-2001 Q: Do I have to implement a Conditional Region statement?
A: NO. The description of the card game at the bottom is quoting a previous assignment. You should use it as a reference for the semantics, but then use semaphores and shared memory to implement your simulation.
[ ---- ]
04-01-2001 The code examples Dr Tekin wants you to use are found here [ html ]
03-02-2001 I will *not* be holding recitation next week (3-8-2001). Use the time to prepare for the test. [ ---- ]
02-28-2001 Critical regions and conditional critical regions are not covered in this year's text book. You can find example usage in last year's slides available at: http://www.bell-labs.com/topic/books/os-book/slide-dir/mod6.2.pdf The relevent section begins on page 17. [ ---- ]
02-21-2001 /.omega/u6 is out of disk space. I'll try to update my webpage, but should this become difficult, I'll move it elsewhere. [ ---- ]
02-21-2001 Here is an example use of semaphores and shared memory in C. Have fun with it and be careful. [ html ]
02-20-2001 Oops. I got my office hours wrong. I don't have office hours on Wednesdays, but I do on Thursdays. [ ----- ]
02-12-2001 Not seeing output from printf() or fprintf()? If your program crashes or blocks soon after one of these calls, the output intended for the screen or file might be sitting in a buffer somewhere. You can force the buffer to be sent to its destination using the fflush(3c) function call. This might aid your debugging efforts. [ ----- ]
02-12-2001 Trouble figuring out pipes at the command line? Take a look at pages 126 and 133 of the Monkey Book. [ ----- ]
02-8-2001 By default, everyone can read any file in your home directory. Read this on how to fix it. [ txt ]
02-1-2001 Dr Tekin mentioned that you should use the typescript utility. This is actually the script(1) command. When you run this command with a filename, it will save everything you type and all the output to the file. To end the script, type exit or press ^D. [ ---- ]
01-25-2001 Accounts that were created this semester (Spring, 2001) are correctly set up to run /p/gcc-2.8.1/gcc when you type 'gcc' at the command line. Older accounts are set up differently, and require that you either modify your PATH environment variable, or type the full path to gcc every time you compile. [ ---- ]
01-18-2001 Here is a slightly updated copy of the information on the back of my handout today. Like Bill's excellent introduction to UNIX, covers a few of the basic commands you might like to know. [ txt ]
01-17-2001 Welcome to 338! I (Ben Karas) will update this page to reflect recent announcements and topics. The first recitation will introduce the UNIX environment. [ ----- ]
---------- ---------- [ ------ ]

Recitation Lectures

Date Subject More
03-28-2001 Sockets API [ ps | pdf | tex | files ]
03-22-2001 Remote Procedure Calls [ ps | pdf | tex | files ]
03-08-2001 No recitation this week! Study for the exam. [ ---- ]
02-28-2001 Message queues C example [ ps | pdf | tex | C code ]
02-21-2001 Shared Memory, example [ ps | pdf | tex ]
02-21-2001 Semaphores (2000), example [ ps | pdf | tex ]
02-07-2001 File descriptors, named and unnamed pipes [ ps | pdf | tex ]
02-01-2001 Getting information at runtime (getpid, getppid, getuid, getgid, gethostname, gettimeofday, ctime, getenv, putenv, getrlimit, setrlimit, getrusage) [ ps | pdf | tex ]
01-31-2001 How to customize your shell. Covers resource scripts, environment variables, aliases. [ txt ]
01-25-2001 fork(), wait(), exec() [ pdf | ps | tex ]
01-19-2001 Using the gcc compiler (Sun) [ html ]
01-19-2001 Using the vi and emacs editors (Sun) [ vi | emacs ]
01-17-2001 A UNIX tutorial (Bill Coate) [ txt ]
01-17-2001 An example session with gdb (Bill Coate) [ txt ]
01-17-2001 A tutorial for the editor vi (Ben Karas) [ pdf / ps / LaTeX ]
---------- ---------- [ ------ ]

Course Documents

Date Subject More
04-05-2001 Assignment #6 (Solaris RPC) [ pdf ]
03-22-2001 Assignment #5 (semaphores, shared memory) [ pdf ]
02-21-2001 Assignment #4 (monitors) [ pdf | soln (local\nashua) ]
02-21-2001 Assignment #3 (shared memory, semaphores) [ pdf | soln (local\nashua) ]
02-10-2001 Assignment #2 (pipes) [ pdf ]
01-26-2001 Assignment #1 (fork, exec, ...) [ pdf ]
01-17-2001 Course syllabus [ pdf ]
---------- ---------- [ ------ ]

Further Information

The following link section has been copied verbatim from Andy Reitz' home page for ECES 338, Spring 1999.
Benjamin Karas
bjk4@po.cwru.edu
01-19-2001