Presentation is loading. Please wait.

Presentation is loading. Please wait.

John Carelli, Instructor Kutztown University

Similar presentations


Presentation on theme: "John Carelli, Instructor Kutztown University"— Presentation transcript:

1 John Carelli, Instructor Kutztown University carelli@kutztown.edu

2 First Day Handout Expectations Course materials covered

3 Storage devices (CD-ROM drive, floppy, tape) Monitor Keyboard Mouse
CPU Memory RAM ROM Disk Storage devices (CD-ROM drive, floppy, tape) Monitor Keyboard Mouse Printer Modem Network Interface Card (NIC)

4 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 to change hardware without changing the programs. Programs can’t manage themselves. OS provides a safe environment for programs to run.

5 How a Program Runs on a Computer
OS loads program from disk and allocates memory and CPU. Instructions in program are run on CPU OS keeps track of last instruction executed. If program needs to access the hardware, OS does the job on its behalf. OS saves the state of the program if program has to leave CPU temporarily. OS cleans up memory and registers after process has completed execution.

6 Unix Operating System Originally Developed at Bell Laboratories
Multiple variants System V from AT&T (SVR4) BSD UNIX from Berkeley Linux with help from GNU

7

8 https://goo.gl/images/7MdhVN

9 Unix Key Concepts Everything in the system is represented as a file
file: text, images, an executable program, … Work gets done by processes. Workload shared by two separate programs kernel and shell Programs interact with the Kernel through system calls. All UNIX systems use the same system calls.

10 UNIX Architecture: The Kernel
Kernel always resides in memory. Has direct access to the hardware. Handles file I/O. Manages processes. Only one copy shared by all users.

11 UNIX Architecture: The Shell
A program or command invoked only when the user logs in. Accepts user input, examines and rebuilds the command line. Makes calls to the kernel for all other functions. At least one shell is invoked by every user. User has a choice of shells.

12 https://bash.cyberciti.biz/guide/What_is_Linux_Kernel

13 User communicate with kernel Kernel data structures
Process File User communicate with kernel Kernel data structures Process table Open file table Modes (more info) System/Kernel mode User (non-privileged, access limited) Interrupt

14

15 Portable Open system Networking comes naturally Hierarchical file system Better memory management Allows piping Freeware Supports multiple users, tasks and programs

16 Running Multiple Programs
Multiprogramming: Multiple programs can be in memory. Multiuser: Multiple users can run programs. Multitasking: One user can run multiple programs.

17 csitrd (csit, acad, login) - CentOS
csitfp – CentOS luna - CentOS hermione - CentOS dumbledore – CentOS vsspehrecs – CMWare ESXi SunOS harry


Download ppt "John Carelli, Instructor Kutztown University"

Similar presentations


Ads by Google