Operating System Services And Functions Explain In Details

Explain Operating System Services, Explain Operating System Functions In Details

In This Topic & Blog Having Any Query Then Post your Comment and Suggestion Below

Operating System Services


• OS as a service provider via system calls & commands (typically for
the programmer).
• Program execution – system capability to load a program into
memory and to run it - address mapping and translation a key issue.
• I/O operations – since user programs cannot execute I/O operations
directly, the operating system must provide some means to perform
I/O - system calls and API.
• File-system manipulation – program capability to read, write, create,
and delete files
• Communications – exchange of information between processes
executing either on the same computer or on different systems tied
together by a network. Implemented via shared memory or message
passing.
• Error detection – ensure correct computing by detecting errors in
the CPU and memory hardware, in I/O devices, or in user programs
– ex:parity errors, arithmetic “errors”, out of memory, out of disk
space, program not found, …
• Memory managemenOperating System Concepts t
management

Operating System Functions


The operating system provides an user friendly environment
for the creation and execution of programs, and provide
services to the user. The main function of operating systems is
• Program creation: The operating system provides editors,
debuggers, to assist the programmer in creating programs
• Programs execution: A number of tasks required to execute a
program. The tasks include instructions and data must be
loaded into main memory. I/O devices and files must be
initialized, and other resources must be prepared. The OS
handles these tasks for the user.
• Input/output operations: A running program may require
input and output. This I/O may involve a file or an I/O device.
A user program cannot execute I/O operations directly; the OS
must provide some means to do so.
Operating System Functions (contd…)
• Error detection: The operating system detects the different types of
errors and should take appropriate action. The errors include
memory error, power failure, printer out of paper , illegal
instruction in the program (division by zero , arithmetic overflow,
attempt to access illegal memory local)
• Resource allocation: The operating system collectors the all the
resources in the network environment or a system and grant these
resources to requested process. Many different types of resources
are managed by the operating system. The resources include CPU
cycles, main memory, io devices, file storage and so on.
• Accounting: The operating system can keep track of which users use
how much and what kind of computer resources. This record
keeping is useful to improve computing services.
• Protection: The operating system provides security Mechanism to
protect the unauthorized usage of files in the network environment.

Labels: