1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Operating-System Structures
Lecture 11: Operating System Services. What is an Operating System? An operating system is an event driven program which acts as an interface between.
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.
3.1 Silberschatz, Galvin and Gagne ©2003 Operating System Concepts with Java Chapter 3: Operating-System Structures System Components Operating System.
1/21/2008CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
1/28/2004CSCI 315 Operating Systems Design1 Operating System Structures & Processes Notice: The slides for this lecture have been largely based on those.
1/26/2004CSCI 315 Operating Systems Design1 Operating System Structures Notice: The slides for this lecture have been largely based on those accompanying.
Figure 1.1 Interaction between applications and the operating system.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
Common System Components
Operating Systems CS208. What is Operating System? It is a program. It is the first piece of software to run after the system boots. It coordinates the.
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.
By Mr. Abdalla A. Shaame.  An operating system is a software component that acts as the core of a computer system.  It performs various functions and.
Abhinav Kamra Computer Science, Columbia University 3.1 Operating System Concepts Silberschatz, Galvin and Gagne  2002 Chapter 3: Operating-System Structures.
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
Chapter 2 Operating System Overview Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles,
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: System Structures.
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs and.
 What is an operating system? What is an operating system?  Where does the OS fit in? Where does the OS fit in?  Services provided by an OS Services.
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Silberschatz and Galvin  Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services System Calls.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Computers Operating System Essentials. Operating Systems PROGRAM HARDWARE OPERATING SYSTEM.
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.
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Operating Systems Structure what is the organizational principle?
1 CSE Department MAITSandeep Tayal Operating-System Structures System Components Operating System Services System Calls System Programs System Structure.
Operating System Principles And Multitasking
UNIX and Shell Programming
Silberschatz, Galvin and Gagne  Operating System Concepts UNIT II Operating System Services.
Distributed System Services Fall 2008 Siva Josyula
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.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
O PERATING S YSTEM. What is an Operating System? An operating system is an event driven program which acts as an interface between a user of a computer,
Introduction to Operating Systems Prepared by: Dhason Operating Systems.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
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.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Computer System Structures
Module 3: Operating-System Structures
Lecture 1: Operating System Services
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 2: System Structures
Operating System Structure
Introduction to Operating System (OS)
Chapter 2: System Structures
Chapter 3: Operating-System Structures
CGS 3763 Operating Systems Concepts Spring 2013
Basic Concepts Protection: Security:
Chapter 2: Operating-System Structures
Operating Systems Lecture 3.
Introduction to Operating Systems
Chapter 2 Operating System Overview
Chapter 2: Operating-System Structures
Presentation transcript:

1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution of programs. The services provided by one operating system is different from the services provided by the other operating system. Operating system makes programming tasks easier. 1

Common classes of services Program Execution: operating system loads a program into memory and executes the program. I/O operation: a running program may require I/o from a file or an I/o device; for protection and efficiency, users cannot control these device directly. File system manipulation: programs needs to read, write, create and delete files. 2

– The operating system gives permission to the program for operation on files. Communication: between processes on the same computer or between different computers and which is implemented either by shared memory or message passing. Error detection: error may occur in the CPU, I/O and memory, connection failure on a network. – Lack of paper on the printer, division by zero on programs are examples of errors. 3

– For each type of error the operating system must take the appropriate action to ensure correct and consistent computing. Resource allocation and conflict resolution: when there are multiple users or multiple jobs running at the same time, resources must be allocated to each of them. Accounting: to keep track of which users use how much and what kinds of computer resources for accumulating usage statistics. 4

Protection: of information, one process not to interfere with another System calls: modern processors provide instructions that can be used as system calls. – System calls provide as an interface between a process and OS. – A system call instruction is an instruction that generates interrupt which cause the operating system to gain control of the processor. 5

1.4 Operating system structures Modern operating systems are large and complex consists of different components interconnected and melded into a kernel. For designing such system, different types of system structures are used. Let see some of them 1.Simple structure 2.Layered structure 3.Microkernel 6

1. Simple structure( – Small, simple and limited systems – The structure is not well defined – Many commercial systems do not have well-defined structures. – Frequently, such operating systems started as small, simple, and limited systems and then grew beyond their original scope. – MS-DOS is an example of such a system. It was originally designed and implemented by a few people who had no idea that it would become so popular. 2. Layered structure – Functions are organized hierarchal and interaction takes place only between adjacent layers. – Most or all of the layers operate in kernel mode. – The bottom layer is the hardware. 7

3.Micro kernel – Is a small operating system core that provides the foundation for modular extensions’ – Main function is to provide a communication facility between the client program and the various services running on the user space. – Micro kernel assigns only a few essential functions to the kernel including the address space,IPC and basic scheduling. 8