OPERATING SYSTEM SERVICES
The
operating system provides services for the programmer so it can
do programming easily.
do programming easily.
a. Program execution.
The system should be able to call the program into memory and
run it. The program should be able to end its execution within
normal or abnormal forms (indication error).
run it. The program should be able to end its execution within
normal or abnormal forms (indication error).
b. I / O Operations.
As the program is running it may require I / O,
may be a file or an I / O device. To be efficient and secure, the user does not
may control I / O directly, the control is performed by the operating system.
may be a file or an I / O device. To be efficient and secure, the user does not
may control I / O directly, the control is performed by the operating system.
c. File system
manipulation. The program's ability to read, write, create
and delete files.
and delete files.
d. Communication.Communication
is required if multiple processes are being executed
exchange information. The exchange of information may be made by some
processes in one computer or in different computers through the system
network. Communication is done by sharing memory (shared memory) or
by way of message delivery (message passing).
exchange information. The exchange of information may be made by some
processes in one computer or in different computers through the system
network. Communication is done by sharing memory (shared memory) or
by way of message delivery (message passing).
e. Detecting
errors. The system must guarantee the truth in computing with
performs error detection on CPU and memory, I / O devices or on the user
program.
Some additional functions are not used to help users,
but rather used to ensure efficient system operation, namely:
performs error detection on CPU and memory, I / O devices or on the user
program.
Some additional functions are not used to help users,
but rather used to ensure efficient system operation, namely:
·
Allocate resources (resources). System must be able to
allocate
resourcefor many users or many jobs on the streets in the same time.
resourcefor many users or many jobs on the streets in the same time.
·
Accounting. The system keeps a record of how many
resources the user is using and
what resources are used to calculate statistically accumulated
resource usage.
what resources are used to calculate statistically accumulated
resource usage.
·
Protection. The operating system must ensure that all
access to resources
well controlled
well controlled
0 komentar:
Posting Komentar