SRM UNIVERSITY FACULTY OF ENGINEERING AND TECHNOLOGY SCHOOL OF ELECTRONICS AND ELECTRICAL ENGINEERING DEPARTMENT OF ECE COURSE PLAN Course Code : CS 463 Course Title : UNIX INTERNALS Semester : VII Course Time : JULY NOV 2009 Day SECTION D D D Hour Timing Hour Timing Hour Timing Monday - - - - - - Tuesday 1, 3 8.30 9.20 10.20 1, 3 8.30 9.20 10.20 1, 3 8.30 9.20 10.20 Wednesday 6 2.20-3.10 6 2.20-3.10 6 2.20-3.10 Thursday - - - - - - Friday - - - - - - Location : S.R.M.E.C Tech Park Faculty Details Sec. Name Office Office hour Mail id Mr.SENTHIL Techpark C Monday to Friday Gsenthil kumar@cse.srmuniv.ac.in KUMAR.G Techpark A,B Mrs. SUSEELA.G Monday to Friday rsusheela@cse.srmuniv.ac.in D Mr.SELVA KUMAR.S Required Text Books: Techpark Monday to Friday selvakumar@cse.srmuniv.ac.in 1. Bach M. J. "The Design of the Unix Operating System", Prentice Hall Of India, 1986 2. Goodheart B. Cox J, "The Magic Garden Explained", Prentice Hall of India, 1994 3. Leffler S. J., Mckusick M. K., Karels M. J. and Quarterman J. S., "The Design and Implementation of the 4.3 BSD Unix Operating System", Addison Wesley, 1998 4. Behrouz A. Forouzan, Richard Gilberg, "Unix & Shell programming", Thomson Asia, 2003
Web resources www.ee.surrey.ac.uk/teaching/unix Prerequisite : CS206 System Software CS202 Operating Systems Objectives Basics of UNIX Operating system Buffers, scheduling, segmentation and paging Drivers and IPC Assessment Details Attendance : 4 Marks Cycle Test I : 6 Marks I : 3 Marks Cycle Test II : 6 Marks II : 3 Marks Model Exam : 8 Marks Test Schedule S.No. DATE TEST TOPICS DURATION 1 Cycle Test - I Unit I & II 2 periods 2 Cycle Test - II Unit III & IV 2 periods 3 Model Exam All 5 units 3 Hrs Outcomes Students who have successfully completed this course will have full understanding of the following concepts Course outcome To learn The basic Unix operating systems and its basic commands. The buffer representation, kernels and system calls. The system structure, implementation of system calls. The UNIX segmentation, paging and scheduling. The Drivers and IPC. Program outcome An ability to understand the basic functioning of UNIX operating systems and shell programming.. To analyze the buffers and kernel representation To understand the UNIX system structure,system calls. To understand UNIX segmentation, scheduling,paging.
To test and troubleshoot a medical device Detailed Session Plan INTRODUCTION UNIX Operating System - History - Commands - System Structure - Shell, Shell Programming - System/ Calls - Unix Communications - Architecture - Kernel Data structures - File stub - Kernel Data structures - File sub - system and Process - sub - system - User - Kernel modes - Process States and Transitions - Sleep and Wakeup. Session No. 1 2 3 Topics to be covered Introduction to UNIX Operating System, History Commands - System Structure Shell, Shell Programming Time (min) Ref Teaching Method Testing Method 4 System/ Calls 5 Unix Communications, Architecture Pick and answer 6 7 8 9 Kernel Data structures,file stub,stub system and Process, stubsystem,user - Kernel modes Process States and Transitions Sleep and Wakeup. 50 1,3 BB, BUFFERS AND REPRESENTATION Buffers - Structure and representation - Implementation of Systems Calls 10 111Buffers,buffer header 11 Structure of buffer pool 12 Scenarios for retrieval of a buffer,reading and writng disk blocks 50 BB 13 15 16 17 18 19 System representation,inodes,directories,super block Implementation of Systems Calls Open.read,write. File and record locking Mounting and un mounting of files Link,unlink,file abstractions,maintenance SCHEDULING AND THREADS Structure - Context - Address Space - Creation - Termination - Scheduling - Threads implementation of System Calls. Introduction to scheduling and threads(recalling)
20 21 22 23 24 25 Structure Context Address Space Creation Termination Scheduling,clock, Comparative study 26 System calls for time Pick and answer 27 Threads implementation of System Calls 28 Threads implementation of System Calls SEGMENTATION AND PAGING Swapping - Segmentation - Demand Paging - Implementation of System calls 29 Swapping 30 Segmentation 31 Demand Paging 32 Hybrid system with swapping and demand paging 33 Hybrid system with swapping and demand paging Implementation of System calls 34 35 Implementation of System calls test DRIVERS AND IPC Drivers - Streams - Implementation of IPC 1mechanisms. 36 Drivers 37 Driver interfaces 38 Disk drivers,terminal drivers 39 Streams 40 Process tracing System V IPC Surprise test 41 42 System V IPC 43 Network communication 44 Network communication
45 sockets BB Black Board PP Power Point