Presentasi SisOp_1

Post on 28-Jun-2015

962 views 0 download

Tags:

transcript

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 1

Sistem Operasi(3 SKS)

Daftar PustakaTanenbaum, Andrew S., 1987, “ Operating System : Design and Implementation “, New Jersey: Prentice-Hall.

Tanenbaum, Andrew S., 1992, “ Modern Operating System “, New Jersey: Prentice-Hall

Silberschatz, Abraham, 1995 “ Principles of Operating System “, Singapore: McGraw-Hill

Silberschatz, Abraham., Peter B. Galvin, 1994,“ Operating System Concepts“, 4th Edition, New Jersey: Addison Wesley Publishing

Sasaran dari matakuliah sistem operasiMempelajari dan memahami konsep dasar sistem operasi, meliputi fungsi, komponen struktur, disain dan implementasi, pengaturan memori, prosessor, input/output, dan sistem file yang efisien, dengan orientasi UNIX, Linux, Windows dan DOS.

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 2

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 3

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 4

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 5

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 6

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 7

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 8

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 9

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 10

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 11

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 12

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 13

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 14

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 15

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 16

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 17

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 18

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 19

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 20

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 21

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 22

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 23

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 24

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 25

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 26

Sistem Operasi(3 SKS)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 27

Sistem Operasi(3 SKS)

History of Operating Systems (3)

• Structure of a typical FMS job – 2nd generation

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 28

Sistem Operasi(3 SKS)

History of Operating Systems (4)

• Multiprogramming system – three jobs in memory – 3rd generation

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 29

Sistem Operasi(3 SKS)

The Operating System Zoo

• Mainframe operating systems• Server operating systems• Multiprocessor operating systems• Personal computer operating systems• Real-time operating systems• Embedded operating systems• Smart card operating systems

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 30

Sistem Operasi(3 SKS)

Operating System Concepts (1)

• A process tree– A created two child processes, B and C– B created three child processes, D, E, and F

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 31

Sistem Operasi(3 SKS)

Operating System Concepts (2)

(a) A potential deadlock. (b) an actual deadlock.

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 32

Sistem Operasi(3 SKS)

Operating System Concepts (3)

File system for a university department

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 33

Sistem Operasi(3 SKS)

Operating System Concepts (4)

• Before mounting, – files on floppy are inaccessible

• After mounting floppy on b,– files on floppy are part of file hierarchy

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 34

Sistem Operasi(3 SKS)

Operating System Concepts (5)

Two processes connected by a pipe

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 35

Sistem Operasi(3 SKS)

Steps in Making a System Call

There are 11 steps in making the system call read (fd, buffer, nbytes)

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 36

Sistem Operasi(3 SKS)

Some System Calls For Process Management

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 37

Sistem Operasi(3 SKS)

Some System Calls For File Management

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 38

Sistem Operasi(3 SKS)

Some System Calls For Directory Management

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 39

Sistem Operasi(3 SKS) Some System Calls For Miscellaneous Tasks

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 40

Sistem Operasi(3 SKS)

System Calls (1)

• A stripped down shell:

while (TRUE) { /* repeat forever */ type_prompt( ); /* display prompt */ read_command (command, parameters) /* input from terminal */ if (fork() != 0) { /* fork off child process

*/ /* Parent code */ waitpid( -1, &status, 0); /* wait for child to exit */} else { /* Child code */ execve (command, parameters, 0); /* execute command */ }}

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 41

Sistem Operasi(3 SKS)

System Calls (2)

• Processes have three segments: text, data, stack

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 42

Sistem Operasi(3 SKS)

System Calls (3)

(a) Two directories before linking/usr/jim/memo to ast's directory

(b) The same directories after linking

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 43

Sistem Operasi(3 SKS)

System Calls (4)

(a) File system before the mount

(b) File system after the mount

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 44

Sistem Operasi(3 SKS)

System Calls (5)

Some Win32 API calls

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 45

Sistem Operasi(3 SKS)

Operating System Structure (1)

Simple structuring model for a monolithic system

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 46

Sistem Operasi(3 SKS)

Operating System Structure (2)

Structure of the THE operating system

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 47

Sistem Operasi(3 SKS)

Operating System Structure (3)

Structure of VM/370 with CMS

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 48

Sistem Operasi(3 SKS)

Operating System Structure (4)

The client-server model

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 49

Sistem Operasi(3 SKS)

Operating System Structure (5)

The client-server model in a distributed system

Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 50

Sistem Operasi(3 SKS)

Metric Units

The metric prefixes