Presentasi SisOp_1
Transcript of Presentasi SisOp_1
![Page 1: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/1.jpg)
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.
![Page 2: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/2.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 2
Sistem Operasi(3 SKS)
![Page 3: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/3.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 3
Sistem Operasi(3 SKS)
![Page 4: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/4.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 4
Sistem Operasi(3 SKS)
![Page 5: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/5.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 5
Sistem Operasi(3 SKS)
![Page 6: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/6.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 6
Sistem Operasi(3 SKS)
![Page 7: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/7.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 7
Sistem Operasi(3 SKS)
![Page 8: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/8.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 8
Sistem Operasi(3 SKS)
![Page 9: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/9.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 9
Sistem Operasi(3 SKS)
![Page 10: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/10.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 10
Sistem Operasi(3 SKS)
![Page 11: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/11.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 11
Sistem Operasi(3 SKS)
![Page 12: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/12.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 12
Sistem Operasi(3 SKS)
![Page 13: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/13.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 13
Sistem Operasi(3 SKS)
![Page 14: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/14.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 14
Sistem Operasi(3 SKS)
![Page 15: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/15.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 15
Sistem Operasi(3 SKS)
![Page 16: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/16.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 16
Sistem Operasi(3 SKS)
![Page 17: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/17.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 17
Sistem Operasi(3 SKS)
![Page 18: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/18.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 18
Sistem Operasi(3 SKS)
![Page 19: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/19.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 19
Sistem Operasi(3 SKS)
![Page 20: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/20.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 20
Sistem Operasi(3 SKS)
![Page 21: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/21.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 21
Sistem Operasi(3 SKS)
![Page 22: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/22.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 22
Sistem Operasi(3 SKS)
![Page 23: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/23.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 23
Sistem Operasi(3 SKS)
![Page 24: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/24.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 24
Sistem Operasi(3 SKS)
![Page 25: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/25.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 25
Sistem Operasi(3 SKS)
![Page 26: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/26.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 26
Sistem Operasi(3 SKS)
![Page 27: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/27.jpg)
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
![Page 28: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/28.jpg)
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
![Page 29: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/29.jpg)
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
![Page 30: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/30.jpg)
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
![Page 31: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/31.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 31
Sistem Operasi(3 SKS)
Operating System Concepts (2)
(a) A potential deadlock. (b) an actual deadlock.
![Page 32: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/32.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 32
Sistem Operasi(3 SKS)
Operating System Concepts (3)
File system for a university department
![Page 33: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/33.jpg)
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
![Page 34: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/34.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 34
Sistem Operasi(3 SKS)
Operating System Concepts (5)
Two processes connected by a pipe
![Page 35: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/35.jpg)
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)
![Page 36: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/36.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 36
Sistem Operasi(3 SKS)
Some System Calls For Process Management
![Page 37: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/37.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 37
Sistem Operasi(3 SKS)
Some System Calls For File Management
![Page 38: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/38.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 38
Sistem Operasi(3 SKS)
Some System Calls For Directory Management
![Page 39: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/39.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 39
Sistem Operasi(3 SKS) Some System Calls For Miscellaneous Tasks
![Page 40: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/40.jpg)
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 */ }}
![Page 41: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/41.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 41
Sistem Operasi(3 SKS)
System Calls (2)
• Processes have three segments: text, data, stack
![Page 42: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/42.jpg)
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
![Page 43: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/43.jpg)
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
![Page 44: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/44.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 44
Sistem Operasi(3 SKS)
System Calls (5)
Some Win32 API calls
![Page 45: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/45.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 45
Sistem Operasi(3 SKS)
Operating System Structure (1)
Simple structuring model for a monolithic system
![Page 46: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/46.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 46
Sistem Operasi(3 SKS)
Operating System Structure (2)
Structure of the THE operating system
![Page 47: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/47.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 47
Sistem Operasi(3 SKS)
Operating System Structure (3)
Structure of VM/370 with CMS
![Page 48: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/48.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 48
Sistem Operasi(3 SKS)
Operating System Structure (4)
The client-server model
![Page 49: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/49.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 49
Sistem Operasi(3 SKS)
Operating System Structure (5)
The client-server model in a distributed system
![Page 50: Presentasi SisOp_1](https://reader035.fdocuments.in/reader035/viewer/2022070321/558fcf851a28ab3f1b8b45bd/html5/thumbnails/50.jpg)
Ir. Siswanto, MM Fakultas Teknologi Informasi SO - 50
Sistem Operasi(3 SKS)
Metric Units
The metric prefixes