OS PPT
OS PPT
OS PPT
SYSTEM
List of Topics
Introduction to Operating System
Process Management
Inter Process Communication
Deadlock
Memory Management
I/O Management
File System
System Protection
Unix/Linux File system
Case Study on XV6 Operating System
Introduction to Operating System
Processing information
Storage of Information
Mechanism to inputting information
Provision for outputting information
Note :- The OS offers generic services to support all the above operations. To that
extent an OS operation is application neutral and service specific.
User and System View
From the user point of view the primary consideration is always the
convenience. It should be easy to use an application. In launching an
application, it helps to have an icon which gives a clue which
application it is.
• Program execution
• I/O operations
• File System manipulation
• Communication
• Error Detection
• Resource Allocation
• Protection
• Accounting
OS services that are helpful to the user
• User Interface :- Almost all operating systems have a user interface
(UI) because otherwise there is no chance to talk to the system.
• Difference Types of user interface
• Command Line (CLI) :- uses text commands and method for
entering them through keyboard for typing command.
• Graphics User Interface (GUI) :- interface is a windows system
with a pointing device to direct I/O, choose from menus, and
make selections and a keyboard to enter text.
• Batch Interface:- commands and directives to control those
commands are entered into 2 files and those files are executed.
OS services that are helpful to the user
• Program Execution :- The system must be able to load a program into
memory, and to run that program end execution either normally or
abnormally indicating errors.
• I/O operations :- A running program may required I/O which may
involved a file or an I/O device.
• File System Manipulation :- Programs need to read and write files and
directories, create and delete them, search them, list files information,
permission management.
OS services that are helpful to the user
• Communications:- Processes may exchange information on same
computer or between computer over a network.
• Communications may be via shared memory or through message passing.
• Error detection:- OS needs to be constantly aware of possible error.
• May occur in the CPU and memory hardware, in I/O devices , in user
program.
• For each type of error, OS should take the appropriate action to ensure
correct and consistent computing.
OS services that are helpful to the user
• Resource allocation:-When multiple users or multiple jobs are running
concurrently, resources must be allocated to each of them.
• Accounting:- To keep track of which users use how much and what
kind of computer resources.
• Protection and Security:- The owners of information stored in a
multiuser or networked computer system may want to control use of
that information, concurrent processes should not interfere with each
other
System Call
Information maintenance:-
• get time or date, set time or date
• get system data, set system data
• get and set process, file, or device attributes
Types of System Calls
Protection:-
• Control access to resources
• Get and set permissions
• Allow and deny user access
Examples of Windows and Unix System
Calls