240-323 OS,2000 1 240-323, Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut.

Slides:



Advertisements
Similar presentations
Operating Systems (CSCI2413) Lecture 2 Overview phones off (please)
Advertisements

Operating System Structures
Chap 2 System Structures.
SLC/Ver1.0/OS CONCEPTS/Oct'991INTRODUCTION What is an Operating System? Operating Structure -System Components -OS Services -System Calls & Programs -System.
Operating System Structure
Operating-System Structures
Operating-System Structures 1. Operating-System System Components 2. Operating System Services 3. System Calls 4. System Structure 5. Virtual Machines.
3: OS Structures 1 OPERATING SYSTEM STRUCTURES PROCESS MANAGEMENT A process is a program in execution: (A program is passive, a process active.) A process.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
2: OS Structures 1 Jerry Breecher OPERATING SYSTEMS STRUCTURES.
1/26/2004CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Common System Components
Os31 Chapter 3 Operating-System Structures. os32 Outlines System Components Operating System Services System Calls System Programs System Structure Virtual.
Silberschatz, Galvin and Gagne  Operating System Concepts Common OS Components Process Management Memory Management File Management I/O System.
Silberschatz, Galvin and Gagne  Operating System Concepts Common System Components Process Management Main Memory Management File Management.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
What do operating systems do? manage processes manage memory and computer resources provide security features execute user programs make solving user.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
Process Management A process is a program in execution. It is a unit of work within the system. Program is a passive entity, process is an active entity.
System Components Operating System Services System Calls System Programs System Structure Virtual Machines System Design and Implementation System Generation.
Prof. Hsien-Hsin Sean Lee
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne  Applied Operating System Concepts Chapter 3: Operating-System Structures System Components OS Services System.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
part I, , Part I Introduction to Operating Systems First Semester, Year 2000 Wannarat Suntiamorntut Department of Computer Engineering,
OPERATING SYSTEM OVERVIEW. Contents Basic hardware elements.
Introduction Operating Systems. No. 2 Contents Definition of an Operating System (OS) Role of an Operating System History of Operating Systems Classification.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
UNIX and Shell Programming (06CS36)
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
Composition and Evolution of Operating Systems Introduction to Operating Systems: Module 2.
3.1 Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Operating system Concepts -mahabadiSilberschatz and Galvin1 3: Operating-System Structures  3.1 System Components  3.2 Operating-System Services  3.3.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
3.1 Operating System Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual.
OSes: 3. OS Structs 1 Operating Systems v Objectives –summarise OSes from several perspectives Certificate Program in Software Development CSE-TC and CSIM,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1 CSE Department MAITSandeep Tayal Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
UNIX and Shell Programming
UNIX Unit 1- Architecture of Unix - By Pratima.
1 CS.217 Operating System By Ajarn..Sutapart Sappajak,METC,MSIT Chapter 3 Operating-System Structures Slide 1 Chapter 3 Operating-System Structures.
Operating Systems Introduction to Operating System (OS)
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
 PROCESS MANAGEMENT  A process is a program in execution: (A program is passive, a process active.)  A process has resources (CPU time, files) and.
First lecture.  Lecture note  ELearning web site :  Abraham Silberschatz, Peter B. Galvin, Greg Gagne, “Operating.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
23/06/ :54:20 CSC Alliance — 1 Kimera Richard Phone: INSTITUTE OF COMPUTER SCIENCE DEPARTMENT.
System Components Operating System Services System Calls.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
OPERATING SYSTEMS STRUCTURES Jerry Breecher 2: Operating System Structures 1.
Chapter 1: Introduction. 1.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Objectives To provide a grand tour of the major operating.
Module 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Chapter 3: Operating-System Structures
Module 3: Operating-System Structures
Avani R.Vasant V.V.P. Engineering College
Operating System Structure
Chapter 3: Operating-System Structures
Chapter 2: Operating-System Structures
Introduction to Operating Systems
OPERATING SYSTEMS STRUCTURES
Chapter 2: Operating-System Structures
III. Operating System Structures
Presentation transcript:

OS, , Part I Operating - System Structures Department of Computer Engineering, PSUWannarat Suntiamorntut

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components Process Management - process : a program in execution, job - process needs certain resources : CPU time, memory file, I/O device - process is not program!!! - program is a passive entity, whereas a process is an active entity. - process is unit of work in system : --> Operating system process --> User process

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components - Os is responsible for the following activities : * created/deleted processes * mange resource requirements of a process during its execution : CPU time, memory, I/O,... * avoid interface between process * achieve cooperation between process

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components Main-Memory Management - Keep track of which parts of memory are currently being used and by whom. - Decide which processes are to be loaded into memory when memory space becomes available. - Allocate and deallocate memory space as needed.

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components File Management - Created/ deleted files or directories - map files onto secondary storage - backup files on stable storage media - manipulate files or directories

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components I/O System Management - memory management component including buffering, caching, and spooling. - general device-driver interface - drivers for specific hardware devices

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components Secondary-Storage Management - Free-space management - Storage allocation - Disk scheduling

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components Networking Distributed system is a collection of processors that has its own local memory and clock, communicate with one another through various lines.

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Components Protection System Controlling the access of programs, processes or users to the resources defined by computer system. Command-Interpreter System - Interface between user and OS. - As same as command-line interpreter (shell). - Get next command statement and execute it.

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut Operating-System Services OS services are provided for the convenience of programmer. Program execution System loads program into main memory, executes, and terminate (abnormal, normal). I/O Operations files or I/O devices File-system manipulation Copy or delete files Communication

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut Operating-System Services OS services are provided for multiusers Resource allocation CPU cycle, main memory, file storage, I/O Accounting status of user Protection Information for each users, Security

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Calls System call provided directed access to OS by programmers (assembly). System call can be used from high level languages such as copy file use : - Interactive system must be work in sequence. - bath system to define the parameter (file name)

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Calls : Copy file StartReceive names of filesPrompt messg Read character Put in parameter Pass para. Open file Error Loop read input file Write output Close both file Terminate normally

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System Calls System call can provided into - process control - file manipulation - device manipulation - information manipulation - communications

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut System structure Simple Structure : small, simple and limited systems Application Program Resident system program MS-DOS device drivers ROM BIOS device drivers

OS, Department of Computer Engineering, PSUWannarat Suntiamorntut UNIX System structure USERS Shell and commands compilers and interpreters system libraries System call interface to kernel Signals terminal handling character I/O system terminal drivers File system swapping block I/O system disk and tape CPU scheduling page replacement demand paging virtual memory Kernel interface to kernel Terminal controller device controllermemory controller disk and tape