LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.

Slides:



Advertisements
Similar presentations
What is an Operating System?
Advertisements

CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
Chapter 1: Introduction
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Operating Systems: Software in the Background
CMPTR1 CHAPTER 3 COMPUTER SOFTWARE Application Software – The programs/software/apps that we run to do things like word processing, web browsing, and games.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Introduction  What is an Operating System  What Operating Systems Do  How is it filling our life 1-1 Lecture 1.
Modified from Silberschatz, Galvin and Gagne ©2009 CS 446/646 Principles of Operating Systems Lecture 1 Chapter 1: Introduction.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Operating Systems.
Operating Systems ECE344 A brief history of OS Ding Yuan ECE Dept., University of Toronto
Linux Operating system
Unix Presentation. What is an Operating System An operating system (OS) is a program that allows you to interact with the computer -- all of the software.
The University of Akron Summit College Business Technology Department Computer Information Systems 2440: 145 Operating Systems Introduction to UNIX/Linux.
Week 6 Operating Systems.
Operating Systems Bryce Boe 2012/08/07 CS32, Summer 2012 B.
Computer Organization Review and OS Introduction CS550 Operating Systems.
Lecture 14: Operating Systems Intro to IT COSC1078 Introduction to Information Technology Lecture 14 Operating Systems James Harland
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
CS212: OPERATING SYSTEM Lecture 1: Introduction 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
LINUX System : Lecture 2 (English-Only Lecture) Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
part I, , Part I Introduction to Operating Systems First Semester, Year 2000 Wannarat Suntiamorntut Department of Computer Engineering,
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
UNIX and Shell Programming (06CS36)
Operating Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
COSC513 Project Linux Features Instructor: Prof. Mort Anvari Student: Yingfeng Luo ID: #
OS provide a user-friendly environment and manage resources of the computer system. Operating systems manage: –Processes –Memory –Storage –I/O subsystem.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
CS 390 Unix Programming Summer Unix Programming - CS 3902 Course Details Online Information Please check.
INVITATION TO COMPUTER SCIENCE, JAVA VERSION, THIRD EDITION Chapter 6: An Introduction to System Software and Virtual Machines.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
LINUX System : Lecture 1 Course Overview Bong-Soo Sohn Associate Professor School of Computer Science and Engineering Chung-Ang University.
Operating System What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. An operating.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Computers & Operating Systems
리눅스 : Lecture 2 운영체제 및 UNIX 요약 중앙대학교 컴퓨터공학부 손 봉 수 교수.
Operating System Principles And Multitasking
Basic UNIX Concepts. Why We Need an Operating System (OS) OS interacts with hardware and manages programs. A safe environment for programs to run is required.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Operating Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Operating Systems Overview Basic Computer Concepts Operating System What does an operating system do  A computer’s software acts similarly with.
WHY AN OPERATING SYSTEM (OS) OS interacts with hardware and manages programs. Programs not expected to know which hardware they will run on. Must be possible.
Computer Center | Network Group IISER Bhopal Introduction to Basic Component of Computer System Vinay Bajpai iiserb.ac.in Computer Center Indian.
Operating System Structure Lecture: - Operating System Concepts Lecturer: - Pooja Sharma Computer Science Department, Punjabi University, Patiala.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
UDel CISC361 Study Operating System principles - processes, threads - scheduling - mutual exclusion - synchronization - deadlocks - memory management -
1 OPERATING SYSTEMS. 2 CONTENTS 1.What is an Operating System? 2.OS Functions 3.OS Services 4.Structure of OS 5.Evolution of OS.
Copyright © 2003 by Prentice Hall 1 Computers: Tools for an Information Age Chapter 3 Operating Systems: Software in the Background BSM025 Computers.
Operating System & Application Software
Lecture 1-Part 2: Operating-System Structures
2. OPERATING SYSTEM 2.1 Operating System Function
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 2: System Structures
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Introduction to Operating Systems
Linux Professor Sabol.
The Main Features of Operating Systems
Introduction to Operating Systems
Chapter 2: Operating-System Structures
Chapter 1: Introduction
Presentation transcript:

LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement : (i) wikipedia.org, (ii)

Operating Systems OS acts as an intermediary between user and HW Resource Manager Allocates and manages system resources (CPU, Memory, Disks, Networks, … ) Efficient and fair use of the resources Interface OS allows users and application programs to access system resources Controls the execution of user programs accurately Efficiently, Fairly, Safely(Accurately), Abstractly

Computer System Structure HW – provides basic computing resources CPU, memory, disk, … OS Kernel direct control of underlying HW System call Programming interface to the services provided by the OS The one program running at all times on the computer is the kernel. Everything else is either a system program (shipped with OS) or an application program Application programs Define the ways in which the system resources are used to solve user problems executed thru shell/GUI. Ex) word processor, video games, etc

Operating Systems Functionality Process Management CPU scheduling : batch vs time-sharing Memory Management Memory allocation : determine what is in memory when? Virtual memory : a technique that gives an application program the impression that it has large contiguous working memory, while in fact it is physically fragmented and may even overflow on to disk storage. Disk and file system Device driver : interface for communicating with HW devices Networking : supports network protocols. (ex) TCP/IP Security : authentication (login), authorization (file permission), … UI : GUI (Graphical User Interface), CLI (Command Line Interface) OS comes with application programs that provide an interface for managing OS.

Storage Hierarchy Register, Cache, Main memory, Secondary Storage (disks), Magnetic tapes Why hierarchical structure? Speed Cost Volatility Caching Copying information into faster storage system. Faster storage checked first to determine if information is there Cache main memory, main memory disk Important principle, performed at many levels in computer

OS Structures Multiprogramming a technique used to utilize maximum CPU time by running multiple programs simultanously Single user cannot keep CPU and I/O devices busy at all times. Multiprogramming organizes jobs (code and data) so CPU always has one to execute One job is selected and run via job scheduler When a running job has to wait for I/O, OS switches to another job Multitasking (time-sharing) CPU switches jobs so frequently that users can interact with each job while it is running. Creates interactive computing Response time can be controlled If processes don’t fit in memory, swapping moves them in and out to run

Operating Systems MS Windows Most popular on desktop computers Gaining popularity in servers. UNIX/LINUX Most popular in server environments LINUX are gaining popularity on desktop PC.

UNIX System has been popular for more than two decades Portability Written mostly in C + a few in assembly language Kernel size is small Multi-user, multi-tasking environment Stability Powerful networking capabilities Free, open source code(LINUX) Suitable for using as a server

UNIX History Created by Ken Thompson et al. ( a researcher at AT&T Bell Lab) UNICS(1969) (shortened to UNIX later) : first version Released Fifth version of UNIX kernel was rewritten in C, which was a big step forwards in terms of system portability (1973) LINUX Developed by Linus Torvalds, a finnish undergrad student, in 1991 Free open source UNIX OS for PC Open source code nature means any one can add features and correct deficiencies. Turned in to collaboration of hundreds of volunteer developers around the world. Several different distributions (e.g. Redhat, Debian, … etc) Distribution comprises a prepackaged kernel, system utilities, GUI, application programs

LINUX Kernel Device driver support for various HW device Advanced processor and memory management Support different types of file system Shells / GUI : two forms of command input Textual command line shells (e.g. C shell, … ) Graphical user interface (e.g. GNOME window manager) System utilities Virtually every UNIX system utilities were ported to LINUX Include daemons server program running as a background process Application programs Come with standard application programs e.g. vi, emacs, xv, gcc/g++, xfig, latex, …