0% found this document useful (0 votes)
5 views

Functions of Operating System Systems Calls Operating System Structure.

Uploaded by

anavadeepcs
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views

Functions of Operating System Systems Calls Operating System Structure.

Uploaded by

anavadeepcs
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 25

FUNCTIONS OF

OPERATING SYSTEM
OPERATING SYSTEM
COMPONENTS
• Process management
• Main memory management
• File Management
• I/O Device management
• Secondary storage management
• Networking
• Protection system
• Command interpreter system
PROCESS MANAGEMENT

• The functions of operating system in process management are


(i) creation and deletion of process
(ii) Suspending and resuming the process
(iii) Providing mechanisms for process communication.
(iv) Providing mechanisms for deadlock handling
MAIN MEMORY
MANAGEMENT
• The functions of operating system in memory management are
(i) Keeping track of memory usage.
(iii) selecting process to be loaded into memory.
MAIN MEMORY
MANAGEMENT
FILE

MANAGEMENT
File – Collection of related information.

• Collection of files are called directories.

The activities of Operating system in File management are


• Creation, deletion and manipulation of files and directories.
• Mapping of files onto secondary storage.
• Backup and recovery of file.
I/O MANAGEMENT
• To manage device drivers for I/O devices
• To manage the I/O operations with
devices such as keyboard, mouse ,printer
etc..
• To manage the memory component such as
buffering, spooling
SECONDARY STORAGE MANAGEMENT

• Storage management
• Scheduling of disk
• Management and allocation of free space
•Proper management of secondary storage is required
since most of the programs use the secondary storage as
permanent storage.
NETWORKI
NG
• The set of computers are interconnected by a communication
network.
• The processors communicate with each other through high speed
buses or telephone lines
• A networked system is a collection of programs and associated
protocols
• Distributed operating system is used to send messages from one
computer to another computer.
PROTECTION
SYSTEM
• Protection system is responsible for
Controlling access of programs ,processes or users to the
resources

Provide a means to differentiate between authorized and


unauthorized users.
COMMAND INTERPRETER SYSTEM (USER
INTERFACE)
• When a job has to be executed ,a program called command line interpreter
reads the control statements and executes it.
• In unix ,the command line interpreter is also called as shell.
• In MS-DOS operating system,commands are typed on a keyboard and
the
enter key is used as the end of the command.
• In Windows operating system has a user friendly interface consisting
of mouse and windows menu system.
OPERATING SYSTEM
SERVICES
User
Interf
a ce
Error
Program
Detec
t ion Executio
n
User
Comm view I/O
Oper
unicati File a
ons
system tions
Manipul
ation
OPERATING SYSTEM
SERVICES
Resource
allocation

Syste
m
Protectio view
n and Accounting
security
USER
VIEW
One Set of operating system services provide functions helpful to users.
• User Interface
• Program execution
• I/O operations
• File System Manipulation
• Communications
• Error Detection
USER INTERFACE

• Command line interface


It uses text commands and method for entering them.
• Graphical User Interface
It consists of pointing device to choose the menus and make
selections.
PROGRAM
EXECUTION
System should load the program into memory and run it.
I/O OPERATIONS

• For a running program requiring I/O Operations, the system must


be able to provide and efficiently control I/O devices.
FILE SYSTEM
MANIPULATION
• Operating System should provide facilities to read,write,create and
delete the files by name.
COMMUNICATIO
N

• Between processes executing on the same computer.


• Between processes executing on different computer connected by
network.
ERROR
DETECTION
• The Operating system must be able to detect any kind of error and take
proper action to correct the erros.
• Some of the common type of errors are
Power failure
Memory errors
Connection failure
Out of paper in printer
SYSTEM VIEW

• Resource allocation
Resource allocation is very important service provided by the operating
system
Multiple users are working or multiple jobs are running at the same time
Resources such as CPU,main memory,files and i/o devices must be
managed by operating system
ACCOUNTING

• Which users
• How many users
• What kind of computer resources?
PROTECTION AND SECURITY

• Protection
The Operating System must ensure that one process does not interfere with
another and all access to system resources are controlled.
• Security
Security is implemented by each user logging in using a password.
SYSTEM CALLS

• In computing, a system call is the programmatic way in which a computer


program requests a service from the operating system.
• It act as an interface between process and operating system
VIRTUAL
MACHINES
• A virtual machine is a software computer that, like a physical computer, runs
an operating system and applications.
(E-x) Vmware, Java Virtual Machine

You might also like