Selasa, 04 Agustus 2009

SISTEM OPERASI

Sistem operasi

OLEH FRANSISCUS BAGUS SAPUTRA


Dalam Ilmu komputer, Sistem operasi atau dalam bahasa Inggris: operating system atau OS adalah perangkat lunak sistem yang bertugas untuk melakukan kontrol dan manajemen perangkat keras serta operasi-operasi dasar sistem, termasuk menjalankan software aplikasi seperti program-program pengolah kata dan browser web.

Secara umum, Sistem Operasi adalah software pada lapisan pertama yang ditaruh pada memori komputer pada saat komputer dinyalakan. Sedangkan software-software lainnya dijalankan setelah Sistem Operasi berjalan, dan Sistem Operasi akan melakukan layanan inti umum untuk software-software itu. Layanan inti umum tersebut seperti akses ke disk, manajemen memori, skeduling task, dan antar-muka user. Sehingga masing-masing software tidak perlu lagi melakukan tugas-tugas inti umum tersebut, karena dapat dilayani dan dilakukan oleh Sistem Operasi. Bagian kode yang melakukan tugas-tugas inti dan umum tersebut dinamakan dengan "kernel" suatu Sistem Operasi.

Pendahuluan

Biasanya, istilah Sistem Operasi sering ditujukan kepada semua software yang masuk dalam satu paket dengan sistem komputer sebelum aplikasi-aplikasi software terinstall. Dalam Ilmu komputer, Sistem operasi atau dalam bahasa Inggris: operating system atau OS adalah perangkat lunak sistem yang bertugas untuk melakukan kontrol dan manajemen perangkat keras serta operasi-operasi dasar sistem, termasuk menjalankan software aplikasi seperti program-program pengolah kata dan browser web.

Secara umum, Sistem Operasi adalah software pada lapisan pertama yang ditempatkan pada memori komputer pada saat komputer dinyalakan. Sedangkan software-software lainnya dijalankan setelah Sistem Operasi berjalan, dan Sistem Operasi akan melakukan layanan inti umum untuk software-software itu. Layanan inti umum tersebut seperti akses ke disk, manajemen memori, skeduling task, dan antar-muka user. Sehingga masing-masing software tidak perlu lagi melakukan tugas-tugas inti umum tersebut, karena dapat dilayani dan dilakukan oleh Sistem Operasi. Bagian kode yang melakukan tugas-tugas inti dan umum tersebut dinamakan dengan "kernel" suatu Sistem Operasi

Pendahuluan

Biasanya, istilah Sistem Operasi sering ditujukan kepada semua software yang masuk


Kalau sistem komputer terbagi dalam lapisan-lapisan, maka Sistem Operasi adalah penghubung antara lapisan hardware dan lapisan software. Lebih jauh daripada itu, Sistem Operasi melakukan semua tugas-tugas penting dalam komputer, dan menjamin aplikasi-aplikasi yang berbeda dapat berjalan secara bersamaan dengan lancar. Sistem Operasi menjamin aplikasi software lainnya dapat menggunakan memori, melakukan input dan output terhadap peralatan lain, dan memiliki akses kepada sistem file. Apabila beberapa aplikasi berjalan secara bersamaan, maka Sistem Operasi mengatur skedule yang tepat, sehingga sedapat mungkin semua proses yang berjalan mendapatkan waktu yang cukup untuk menggunakan prosesor (CPU) serta tidak saling mengganggu.


Dalam banyak kasus, Sistem Operasi menyediakan suatu pustaka dari fungsi-fungsi standar, dimana aplikasi lain dapat memanggil fungsi-fungsi itu, sehingga dalam setiap pembuatan program baru, tidak perlu membuat fungsi-fungsi tersebut dari awal.


Sistem Operasi secara umum terdiri dari beberapa bagian:

  1. Mekanisme Boot, yaitu meletakkan kernel ke dalam memory
  2. Kernel, yaitu inti dari sebuah Sistem Operasi
  3. Command Interpreter atau shell, yang bertugas membaca input dari pengguna
  4. Pustaka-pustaka, yaitu yang menyediakan kumpulan fungsi dasar dan standar yang dapat dipanggil oleh aplikasi lain
  5. Driver untuk berinteraksi dengan hardware eksternal, sekaligus untuk mengontrol mereka.


Sebagian Sistem Operasi hanya mengizinkan satu aplikasi saja yang berjalan pada satu waktu, tetapi sebagian besar Sistem Operasi baru mengizinkan beberapa aplikasi berjalan secara simultan pada waktu yang bersamaan. Sistem Operasi seperti itu disebut sebagai Multi-tasking Operating System. Beberapa Sistem Operasi berukuran sangat besar dan kompleks, serta inputnya tergantung kepada input pengguna, sedangkan Sistem Operasi lainnya sangat kecil dan dibuat dengan asumsi bekerja tanpa intervensi manusia sama sekali. Tipe yang pertama sering disebut sebagai Desktop OS, sedangkan tipe kedua adalah Real-Time OS


Sebagai contoh, yang dimaksud sistem operasi itu antara lain adalah Windows, Linux, Free BSD, Solaris, palm, dan sebagainya.

Layanan inti umum

Seiring dengan berkembangnya Sistem Operasi, semakin banyak lagi layanan yang menjadi layanan inti umum. Kini, sebuah OS mungkin perlu menyediakan layanan network dan koneksitas internet, yang dulunya tidak menjadi layanan inti umum. Sistem Operasi juga perlu untuk menjaga kerusakan sistem komputer dari gangguan program perusak yang berasal dari komputer lainnya, seperti virus. Daftar layanan inti umum akan terus bertambah.


Program saling berkomunikasi antara satu dengan lainnya dengan Antarmuka Pemrograman Aplikasi, Application Programming Interface atau disingkat dengan API. Dengan API inilah program aplikasi dapat berkomunikasi dengan Sistem Operasi. Sebagaimana manusia berkomunikasi dengan komputer melalui Antarmuka User, program juga berkomunikasi dengan program lainnya melalui API.


Walaupun demikian API sebuah komputer tidaklah berpengaruh sepenuhnya pada program-program yang dijalankan diatas platform operasi tersebut. Contohnya bila program yang dibuat untuk windows 3.1 bila dijalankan pada windows 95 dan generasi setelahnya akan terlihat perbedaan yang mencolok antara window program tersebut dengan program yang lain.

Sistem Operasi saat ini

Sistem operasi-sistem operasi utama yang digunakan komputer sistem umum (termasuk PC, komputer personal) terbagi menjadi 3 kelompok besar:

  1. Keluarga Microsoft Windows - yang antara lain terdiri dari Windows Desktop Environment (versi 1.x hingga versi 3.x), Windows 9x (Windows 95, 98, dan Windows ME), dan Windows NT (Windows NT 3.x, Windows NT 4.0, Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows 7 (Seven) yang akan dirilis pada tahun 2009, dan Windows Orient yang akan dirilis pada tahun 2014)).
  2. Keluarga Unix yang menggunakan antarmuka sistem operasi POSIX, seperti SCO UNIX, keluarga BSD (Berkeley Software Distribution), GNU/Linux, MacOS/X (berbasis kernel BSD yang dimodifikasi, dan dikenal dengan nama Darwin) dan GNU/Hurd.
  3. Mac OS, adalah sistem operasi untuk komputer keluaran Apple yang biasa disebut Mac atau Macintosh. Sistem operasi yang terbaru adalah Mac OS X versi 10.4 (Tiger). Awal tahun 2007 direncanakan peluncuran versi 10.5 (Leopard).

Sedangkan komputer Mainframe, dan Super komputer menggunakan banyak sekali sistem operasi yang berbeda-beda, umumnya merupakan turunan dari sistem operasi UNIX yang dikembangkan oleh vendor seperti IBM AIX, HP/UX, dll.

Proses

Prosesor mengeksekusi program-program komputer. Prosesor adalah sebuah chip dalam sistem komputer yang menjalankan instruksi-instruksi program komputer. Dalam setiap detiknya prosesor dapat menjalankan jutaan instruksi.

Program adalah sederetan instruksi yang diberikan kepada suatu komputer. Sedangkan proses adalah suatu bagian dari program yang berada pada status tertentu dalam rangkaian eksekusinya. Di dalam bahasan Sistem Operasi, kita lebih sering membahas proses dibandingkan dengan program. Pada Sistem Operasi modern, pada satu saat tidak seluruh program dimuat dalam memori, tetapi hanya satu bagian saja dari program tersebut. Sedangkan bagian lain dari program tersebut tetap beristirahat di media penyimpan disk. Hanya pada saat dibutuhkan saja, bagian dari program tersebut dimuat di memory dan dieksekusi oleh prosesor. Hal ini sangat menghemat pemakaian memori.

Beberapa sistem hanya menjalankan satu proses tunggal dalam satu waktu, sedangkan yang lainnya menjalankan multi-proses dalam satu waktu. Padahal sebagian besar sistem komputer hanya memiliki satu prosesor, dan sebuah prosesor hanya dapat menjalankan satu instruksi dalam satu waktu. Maka bagaimana sebuah sistem prosesor tunggal dapat menjalankan multi-proses? Sesungguhnya pada granularity yang sangat kecil, prosesor hanya menjalankan satu proses dalam satu waktu, kemudian secara cepat ia berpindah menjalankan proses lainnya, dan seterusnya. Sehingga bagi penglihatan dan perasaan pengguna manusia, seakan-akan prosesor menjalankan beberapa proses secara bersamaan.

Setiap proses dalam sebuah sistem operasi mendapatkan sebuah PCB (Process Control Block) yang memuat informasi tentang proses tersebut, yaitu: sebuah tanda pengenal proses (Process ID) yang unik dan menjadi nomor identitas, status proses, prioritas eksekusi proses dan informasi lokasi proses dalam memori. Prioritas proses merupakan suatu nilai atau besaran yang menunjukkan seberapa sering proses harus dijalankan oleh prosesor. Proses yang memiliki prioritas lebih tinggi, akan dijalankan lebih sering atau dieksekusi lebih dulu dibandingkan dengan proses yang berprioritas lebih rendah. Suatu sistem operasi dapat saja menentukan semua proses dengan prioritas yang sama, sehingga setiap proses memiliki kesempatan yang sama. Suatu sistem operasi dapat juga merubah nilai prioritas proses tertentu, agar proses tersebut akan dapat memiliki kesempatan lebih besar pada eksekusi berikutnya (misalnya: pada proses yang sudah sangat terlalu lama menunggu eksekusi, sistem operasi menaikkan nilai prioritasnya).

Status Proses

Jenis status yang mungkin dapat disematkan pada suatu proses pada setiap sistem operasi dapat berbeda-beda. Tetapi paling tidak ada 3 macam status yang umum, yaitu:

  1. Ready, yaitu status dimana proses siap untuk dieksekusi pada giliran berikutnya
  2. Running, yaitu status dimana saat ini proses sedang dieksekusi oleh prosesor
  3. Blocked, yaitu status dimana proses tidak dapat dijalankan pada saat prosesor siap/bebas

DALAM VERSI ENGLISH

Operating system
From English Wikipedia, the free encyclopedia
Jump to: navigation, search
Article bertopik information technology should be made to meet the standard Wikipedia
Tidy article can be to share an article or paragraph in the article wikifikasi. Once made, please remove this message.
Ubuntu

In the computer, the operating system or in English: operating system or OS is a software system that served to make the control and management of hardware and operating-system operating base, including the software application programs such as word processing and web browser.

In general, the Operating System is a software layer on the first put on the computer memory when the computer switched on. Whereas other software-the software is run after the Operating System to run, and the Operating System will perform the core public service to the software-software. These core public services such as access to the disk, memory management, skeduling task, and user inter-face. So that each of the software does not need to perform tasks common core, as can be managed and carried out by the Operating System. The code of tasks and common core is called the "kernel" of a Operating System.
Contents
[hide]

* 1 Introduction
* 2 Introduction
* 3 core Public Service
4 * Operating System at this time
* 5 The
o 5.1 Process Status
* 6 See also
* 7 External links

[edit] Introduction

Usually, the term often Operating System software is addressed to all who enter in one package with the computer system before the application software installed. In the computer, the operating system or in English: operating system or OS is a software system that served to make the control and management of hardware and operating-system operating base, including the software application programs such as word processing and web browser.

In general, the Operating System software is the first layer placed on the memory on the computer when the computer switched on. Whereas other software-the software is run after the Operating System to run, and the Operating System will perform the core public service to the software-software. These core public services such as access to the disk, memory management, skeduling task, and user inter-face. So that each of the software does not need to perform tasks common core, as can be managed and carried out by the Operating System. The code of tasks and common core is called the "kernel" an Operating System

[edit] Introduction

Usually, the term often Operating System software is addressed to all who enter


If the computer system divided into layers, then the Operating System is the layer between the hardware and software layer. More than the Operating System to do all the tasks necessary in the computer, and ensure that applications can run different simultaneously smoothly. Operating System ensure other software applications can use the memory, perform input and output of other equipment, and have access to the file system. When running several applications simultaneously, then set the Operating System skedule the right, so that wherever possible all processes that are running to get enough time to use the processor (CPU) and do not disrupt each other.


In many cases, the Operating System provides a library of standard functions, which other applications can call functions that, so in the making of each new program, does not need to create these functions from scratch.


Operating Systems in general consists of several parts:

1. Boot mechanism, namely to put the kernel in memory
2. Kernel, the core of an Operating System
3. Command Interpreter or shell, which reads input from the user
4. Library-library, which provides the basic set of functions and standards that can be called by other applications
5. Drivers to interact with external hardware, as well as to control them.


Some of the Operating System only allows only one application running at a time, but most of the new Operating System allows multiple applications to run simultaneously at the same time. Operating System as it is called the Multi-tasking Operating System. Some of the Operating System is very large size and complex, and inputnya depending on the user input, while the other Operating Systems is very small and made with the assumption that work without human intervention at all. The first type is often referred to as a Desktop OS, while the second type is the Real-Time OS


For example, the operating system that include Windows, Linux, Free BSD, Solaris, palm, and so forth.

[edit] Public Service core

Along with the development of Operating System, the more services that are core public services. Now, the OS may be a need to provide network services and internet koneksitas, who was not a core public service. Operating System also need to keep damage to a computer system from destructive interference of the program came from other computers, such as viruses. List of core public services will continue to grow.


Program to communicate between each other with the other one with the Application Programming Interface, Application Programming Interface, or abbreviated with the API. With this API the application can communicate with the Operating System. As people communicate with the computer through the user interface, the program also communicate with other program via the API.


However the API is not a computer solely on programs that run on the operating platform. For example if the program made for Windows 3.1 when running on Windows 95 and later generations will be a visible difference between the program window with the other program.

[edit] Operating System at this time

Operating system-the main operating system used computer system general (including PC, personal computer) divided into 3 major groups:

1. Microsoft Windows family - which among others consists of the Windows Desktop Environment (version 1.x to version 3.x), Windows 9x (Windows 95, 98, and Windows ME), and Windows NT (Windows NT 3.x, Windows NT 4.0 , Windows 2000, Windows XP, Windows Server 2003, Windows Vista, Windows 7 (Seven) will be released in 2009, and Windows will be released the Orient in the year 2014)).
2. Unix family of operating systems using the POSIX interface, such as SCO UNIX, family BSD (Berkeley Software Distribution), GNU / Linux, MacOS / X (BSD-based kernel is modified, and is known by the name of Darwin) and GNU / Hurd.
3. Mac OS is the operating system for computer output which is called the Apple Mac or Macintosh. Operating system is the latest version of Mac OS X 10.4 (Tiger). Planned early 2007 launch of version 10.5 (Leopard).

Meanwhile, Mainframe computers, super computers and many use the operating system that is different, generally is derived from the UNIX operating system developed by vendors such as IBM AIX, HP / UX, etc..

[edit] Process

Processor executing the computer programs. Processor is a chip in the computer system that runs the instructions a computer program. In each second processor can run millions of instructions.

The program is a series of instructions given to a computer. While the process is a part of the program that is on a particular status in the series of execution. In the discussion Operating System, we discuss the process more frequently than the program. In the modern Operating System, at a time not all programs loaded in memory, but only just one part of the program. While other parts of the program is still resting in the media storage disk. Only required at the time only, part of the program is loaded in memory and executed by the processor. This is to save memory.

Some systems run only one process in one single time, while the other run in the multi-process one time. While most of the computer system has only one processor, and a processor can only execute one instruction at a time. So how a single processor system can run multi-process? Indeed, the granularity is very small, the processor only runs one process at a time, then quickly switch it to run other processes, and so on. So that the vision and feelings of the human user, as it were, the processor will run multiple processes simultaneously.

Each process in an operating system to get a PCB (Process Control Block) which includes information about the process, namely: an identification process (Process ID) a unique identity and become the number, the status of the process, the priority process execution and process location information in memory . Priority process is a value or scale that indicates how often the process must be executed by the processor. The process that has a higher priority, will be executed more often or earlier than the process that berprioritas lower. An operating system can only determine all processes with the same priority, so that each process has the same opportunity. An operating system can also alter the value of a particular priority, so that the process will be able to have a greater opportunity in the next execution (for example: the very process that has been too long waiting execution, the operating system increase the value of priority).

[edit] Status Process

Type of status that may disematkan on a process on each operating system can vary. But there are at least 3 types of status that is common, namely:

1. Ready, that is where the status of the process is ready to turn executed on the next
2. Running, the status of the current process is being executed by the processor
3. Blocked, that is where the process status can not be executed at the time the processor is ready / free

Tidak ada komentar:

Posting Komentar