CIS250 OPERATING SYSTEMS UNIX Lab date cal uptime hostname, whoami, quota leave bc wump man fortune chess monop worm adventure apropos whatis.

Slides:



Advertisements
Similar presentations
POS/420 Philip Robbins – March 19, 2013 (Week 2) University of Phoenix Mililani Campus Introduction to Unix.
Advertisements

Operating Systems Part III: Process Management (Process Synchronization)
Concurrency: Mutual Exclusion and Synchronization Chapter 5.
Ch. 7 Process Synchronization (1/2) I Background F Producer - Consumer process :  Compiler, Assembler, Loader, · · · · · · F Bounded buffer.
Concurrent Programming Problems OS Spring Concurrency pros and cons Concurrency is good for users –One of the reasons for multiprogramming Working.
Chapter 6: Process Synchronization
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 5: Process Synchronization.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 6: Process Synchronization.
Process Synchronization. Module 6: Process Synchronization Background The Critical-Section Problem Peterson’s Solution Synchronization Hardware Semaphores.
Cpr E 308 Spring 2004 Recap for Midterm Introductory Material What belongs in the OS, what doesn’t? Basic Understanding of Hardware, Memory Hierarchy.
Exploring the UNIX File System and File Security
Chapter 6: Process Synchronization. Outline Background Critical-Section Problem Peterson’s Solution Synchronization Hardware Semaphores Classic Problems.
The UNIX File System.
Chapter 6: Synchronization. 6.2 Silberschatz, Galvin and Gagne ©2005 Operating System Principles Module 6: Synchronization 6.1 Background 6.2 The Critical-Section.
Synchronization (other solutions …). Announcements Assignment 2 is graded Project 1 is due today.
Guide To UNIX Using Linux Third Edition
Linux Operating System
1. This presentation covers :  User Interface Administration  Files System and Services Management 2.
Operating Systems CSE 411 CPU Management Oct Lecture 13 Instructor: Bhuvan Urgaonkar.
Introduction to Linux Workshop February Introduction Rob Lane & The HPC Support Team Research Computing Services CUIT.
Guide To UNIX Using Linux Fourth Edition
Unix Basics Chapter 4.
Computer Programming for Biologists Oct 30 th – Dec 11 th, 2014 Karsten Hokamp  Fill out.
Chapter Two Exploring the UNIX File System and File Security.
28/10/1999POS-A1 The Synchronization Problem Synchronization problems occur because –multiple processes or threads want to share data; –the executions.
Chapter 1 Computer System Overview Sections 1.1 to 1.6 Instruction exe cution Interrupt Memory hierarchy Cache memory Locality: spatial and temporal Problem.
30 October Agenda for Today Introduction and purpose of the course Introduction and purpose of the course Organization of a computer system Organization.
Manage Directories and Files in Linux. 2 Objectives Understand the Filesystem Hierarchy Standard (FHS) Identify File Types in the Linux System Change.
1 Concurrency: Mutual Exclusion and Synchronization Chapter 5.
Chapter 7 -1 CHAPTER 7 PROCESS SYNCHRONIZATION CGS Operating System Concepts UCF, Spring 2004.
UNIX History - joint venture between MIT and Bell Labs (originally called Multics) – Ken Thompson (AT&T) created an operating system to run Space.
Background Concurrent access to shared data may result in data inconsistency Maintaining data consistency requires mechanisms to ensure the orderly execution.
Operating Systems CMPSC 473 Mutual Exclusion Lecture 11: October 5, 2010 Instructor: Bhuvan Urgaonkar.
Linux Commands C151 Multi-User Operating Systems.
PTA Linux Series Copyright Professional Training Academy, CSIS, University of Limerick, 2006 © Workshop V Files and the File System Part B – File System.
Linux Filesystem WeeSan Lee. Roadmap Disk Partitions The Filesystem Filesystem Mouting & Umounting File Tree File Type File Permission.
Exam Review Andy Wang Operating Systems COP 4610 / CGS 5765.
Chapter 10: File-System Interface Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 1, 2005 File-System Interface.
CSE 153 Design of Operating Systems Winter 2015 Midterm Review.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 6: Process Synchronization.
A Brief Overview of Unix Brandon Bohrer. Topics What is Unix? – Quick introduction Documentation – Where to get it, how to use it Text Editors – Know.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 6: Process Synchronization.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 5: Process Synchronization.
1EMC CONFIDENTIAL—INTERNAL USE ONLY Unified PUHC Issues Troubleshooting Manfred Zhuang 2014/9/30 Space Issues & Running Tasks.
Process Synchronization I CPE Operating Systems
LINUX Zhengli Zhu, School of Life Sciences. Outline 1. ABC of Linux 2. Basic orers of Linux 3. Bash Programming.
Linux/Unix - Download Ubuntu Linux :
Sarah Diesburg Operating Systems COP 4610
Process Synchronization
Concurrent Processes.
UNIX Introduction History Main Features UNIX Operating System
Command Line Interface for Beginners
Chapter 5: Process Synchronization
Exploring the UNIX File System and File Security
Topic 6 (Textbook - Chapter 5) Process Synchronization
Lecture 22 Syed Mansoor Sarwar
COMS Prelim 1 Review Session
Lecture 2 Part 2 Process Synchronization
Chapter 6: Process Synchronization
Operating Systems Lecture 1.
Lecture 21 Syed Mansoor Sarwar
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
, Part II Process Synchronization
CSE 153 Design of Operating Systems Winter 2019
Andy Wang Operating Systems COP 4610 / CGS 5765
Process/Thread Synchronization (Part 2)
CSE 542: Operating Systems
CSE 542: Operating Systems
Sarah Diesburg Operating Systems CS 3430
Presentation transcript:

CIS250 OPERATING SYSTEMS

UNIX Lab date cal uptime hostname, whoami, quota leave bc wump man fortune chess monop worm adventure apropos whatis

UNIX Lecture History Connecting X Windows Terminal definitions Command Syntax Shells Communicating with others Editors Printing Redirection, pipes Displaying files UNIX File system Directories Process Control

UNIX: root directory bin boot dev ect home lib lost+found mnt net proc root sbin tmp usr var

Chapter 6 - Process Synchronization Background

Critical Section Problem Must meet the following guidelines: Mutual Exclusion Progress Bounded Waiting

Vocabulary flag true/false/boolean turn atomic primitive instructions counter race condition

Two Process Solutions Algorithm 1 Algorithm 2 Algorithm 3

Multi-Process Solution Bakery Algorithm: –order is unpredicatable (chaos) –pick a number, first come/first served –how to handle a tie

Synchronization Hardware Special hardware instructions –test/modify a word –swap Test and-Set instruction

Semaphores Usage Implementation Deadlocks and Starvation Binary Semaphores