SlideShare a Scribd company logo
1 of 11
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Operating System
KCS – 401
OS Services and System Components
Dr. Pankaj Kumar
Associate Professor – CSE
SRMGPC Lucknow
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
An Operating System supplies different kinds of services to both the users and to the programs as
well. It also provides application programs (that run within an Operating system) an environment
to execute it freely. It provides users the services run various programs in a convenient manner.
Here is a list of common services offered by an almost all operating systems:
• User Interface
• Program Execution
• File system manipulation
• Input / Output Operations
• Communication
• Resource Allocation
• Error Detection
• Accounting
• Security and protection
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
User Interface
Usually Operating system comes in three forms or types. Depending on the interface their types
have been further subdivided. These are:
• Command line interface
• Batch based interface
• Graphical User Interface
The command line interface (CLI) usually deals with using text commands and a technique for
entering those commands.
The batch interface (BI): commands and directives are used to manage those commands that are
entered into files and those files get executed.
Another type is the graphical user interface (GUI): which is a window system with a pointing
device (like mouse or trackball) to point to the I/O, choose from menus driven interface and to
make choices viewing from a number of lists and a keyboard to entry the texts.
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Program Execution
• An operating system must be able to load many kinds of activities into the memory and to run
it. The program must be able to end its execution, either normally or abnormally.
• A process includes the complete execution of the written program or code. There are some of
the activities which are performed by the operating system:
 The operating system Loads program into memory
 It also Executes the program
 It Handles the program’s execution
 It Provides a mechanism for process synchronization
 It Provides a mechanism for process communication
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
File system manipulation
• The collection of related information which represent some content is known as a file. The
computer can store files on the secondary storage devices. For long-term storage purpose.
examples of storage media include magnetic tape, magnetic disk and optical disk drives like
CD, DVD.
• A file system is a collection of directories for easy understand and usage. These directories
contain some files. There are some major activities which are performed by an operating
system with respect to file management.
 The operating system gives an access to the program for performing an operation on the
file.
 Programs need to read and write a file.
 The user can create/delete a file by using an interface provided by the operating system.
 The operating system provides an interface to the user creates/ delete directories.
 The backup of the file system can be created by using an interface provided by the
operating system.
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
I/O Operations
• The communication between the user and devices drivers are managed by the operating
system.
• I/O devices are required for any running process. In I/O a file or an I/O devices can be
involved.
• I/O operations are the read or write operations which are done with the help of input-output
devices.
• Operating system give the access to the I/O devices when it required.
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Communication
In the computer system, there is a collection of processors which do not share memory
peripherals devices or a clock, the operating system manages communication between all the
processes. Multiple processes can communicate with every process through communication lines
in the network. There are some major activities that are carried by an operating system with
respect to communication.
 Two processes may require data to be transferred between the process.
 Both the processes can be on one computer or a different computer, but are connected through
a computer network.
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Error handling
An error is one part of the system that may cause malfunctioning of the complete system. The
operating system constantly monitors the system for detecting errors to avoid some situations.
This give relives to the user of the worry of getting an error in the various parts of the system
causing malfunctioning.
The error can occur anytime and anywhere. The error may occur anywhere in the computer
system like in CPU, in I/O devices or in the memory hardware. There are some activities that are
performed by an operating system:
• The OS continuously checks for the possible errors.
• The OS takes an appropriate action to correct errors and consistent computing.
Operating System Services
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar
Resource management
When there are multiple users or multiple jobs running at the same time resources must be
allocated to each of them. There are some major activities that are performed by an operating
system:
• The OS manages all kinds of resources using schedulers.
• CPU scheduling algorithm is used for better utilization of CPU.
Operating System Services
B.Tech – CS 2nd Year Protection
The owners of information stored in a multi-user computer system want to control its use. When several disjoints processes execute concurrently it should not be possible for any process to interfere with another process. Every process in the computer system must be secured and controlled.
Accounting
This service of the operating system keeps track of which users are using how much and what
kinds of computer resources have been used for accounting or simply to accumulate usage
statistics.
Protection
The owners of information stored in a multi-user computer system want to control its use. When
several disjoints processes execute concurrently it should not be possible for any process to
interfere with another process. Every process in the computer system must be secured and
controlled.
Queries
???????
B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar

More Related Content

Similar to Services of Operating System

Similar to Services of Operating System (20)

OS chapter 1.pptx
OS chapter 1.pptxOS chapter 1.pptx
OS chapter 1.pptx
 
Operating System
Operating SystemOperating System
Operating System
 
Operating systems1[1]
Operating systems1[1]Operating systems1[1]
Operating systems1[1]
 
Operating systems
Operating systemsOperating systems
Operating systems
 
OS Content.pdf
OS Content.pdfOS Content.pdf
OS Content.pdf
 
chapter2.pptx
chapter2.pptxchapter2.pptx
chapter2.pptx
 
Operating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdfOperating Systems PPT 1 (1).pdf
Operating Systems PPT 1 (1).pdf
 
Os unit i
Os unit iOs unit i
Os unit i
 
Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]Ch1kiit [compatibility mode]
Ch1kiit [compatibility mode]
 
Operating Systems
Operating SystemsOperating Systems
Operating Systems
 
CS403: Operating System : Lec 4 OS services.pptx
CS403: Operating System : Lec 4 OS services.pptxCS403: Operating System : Lec 4 OS services.pptx
CS403: Operating System : Lec 4 OS services.pptx
 
Introduction to operating systems
 Introduction to operating systems Introduction to operating systems
Introduction to operating systems
 
IO system
IO systemIO system
IO system
 
OS Lec2.pptx
OS Lec2.pptxOS Lec2.pptx
OS Lec2.pptx
 
Introduction to Operating System
Introduction to Operating SystemIntroduction to Operating System
Introduction to Operating System
 
Chapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System ConceptsChapter 1 Introduction to Operating System Concepts
Chapter 1 Introduction to Operating System Concepts
 
UNIT 2.pptx
UNIT 2.pptxUNIT 2.pptx
UNIT 2.pptx
 
os assignment -individual presenation.pptx
os assignment -individual presenation.pptxos assignment -individual presenation.pptx
os assignment -individual presenation.pptx
 
PROJECT 3.pptx
PROJECT 3.pptxPROJECT 3.pptx
PROJECT 3.pptx
 
Operating system basics, Types of operating systems, Tasks, Process and Thre...
Operating system basics, Types of operating  systems, Tasks, Process and Thre...Operating system basics, Types of operating  systems, Tasks, Process and Thre...
Operating system basics, Types of operating systems, Tasks, Process and Thre...
 

More from Shri Ram Swaroop Memorial College of Engineering & Management

More from Shri Ram Swaroop Memorial College of Engineering & Management (17)

Operating System - File system
Operating System - File systemOperating System - File system
Operating System - File system
 
Disk Scheduling
Disk SchedulingDisk Scheduling
Disk Scheduling
 
Paging
PagingPaging
Paging
 
Virtual Memory
Virtual MemoryVirtual Memory
Virtual Memory
 
Page Replacement
Page ReplacementPage Replacement
Page Replacement
 
Memory Management
Memory Management Memory Management
Memory Management
 
Bare Machine
Bare MachineBare Machine
Bare Machine
 
Operating System Sheduling
Operating System ShedulingOperating System Sheduling
Operating System Sheduling
 
Operating System Deadlock
Operating System DeadlockOperating System Deadlock
Operating System Deadlock
 
Operating System: process
Operating System: processOperating System: process
Operating System: process
 
Operating System: Process and synchronization
Operating System: Process and synchronizationOperating System: Process and synchronization
Operating System: Process and synchronization
 
Operating System: Semaphor
Operating System: SemaphorOperating System: Semaphor
Operating System: Semaphor
 
Operating System: interprocess Communication
Operating System: interprocess CommunicationOperating System: interprocess Communication
Operating System: interprocess Communication
 
Structure of Operating System
Structure of Operating SystemStructure of Operating System
Structure of Operating System
 
Aspect 0f Operating System
Aspect 0f Operating SystemAspect 0f Operating System
Aspect 0f Operating System
 
Function of Operating System
Function of Operating SystemFunction of Operating System
Function of Operating System
 
Operating System - Overview
Operating System - OverviewOperating System - Overview
Operating System - Overview
 

Recently uploaded

Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
EADTU
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
cupulin
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MysoreMuleSoftMeetup
 

Recently uploaded (20)

Observing-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptxObserving-Correct-Grammar-in-Making-Definitions.pptx
Observing-Correct-Grammar-in-Making-Definitions.pptx
 
Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"Mattingly "AI & Prompt Design: Named Entity Recognition"
Mattingly "AI & Prompt Design: Named Entity Recognition"
 
Graduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptxGraduate Outcomes Presentation Slides - English (v3).pptx
Graduate Outcomes Presentation Slides - English (v3).pptx
 
Major project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategiesMajor project report on Tata Motors and its marketing strategies
Major project report on Tata Motors and its marketing strategies
 
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
Transparency, Recognition and the role of eSealing - Ildiko Mazar and Koen No...
 
OSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & SystemsOSCM Unit 2_Operations Processes & Systems
OSCM Unit 2_Operations Processes & Systems
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
The Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDFThe Story of Village Palampur Class 9 Free Study Material PDF
The Story of Village Palampur Class 9 Free Study Material PDF
 
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
TỔNG HỢP HƠN 100 ĐỀ THI THỬ TỐT NGHIỆP THPT TOÁN 2024 - TỪ CÁC TRƯỜNG, TRƯỜNG...
 
8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management8 Tips for Effective Working Capital Management
8 Tips for Effective Working Capital Management
 
How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17How to Send Pro Forma Invoice to Your Customers in Odoo 17
How to Send Pro Forma Invoice to Your Customers in Odoo 17
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
e-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopale-Sealing at EADTU by Kamakshi Rajagopal
e-Sealing at EADTU by Kamakshi Rajagopal
 
male presentation...pdf.................
male presentation...pdf.................male presentation...pdf.................
male presentation...pdf.................
 
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdfContoh Aksi Nyata Refleksi Diri ( NUR ).pdf
Contoh Aksi Nyata Refleksi Diri ( NUR ).pdf
 
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading RoomSternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
Sternal Fractures & Dislocations - EMGuidewire Radiology Reading Room
 
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
MuleSoft Integration with AWS Textract | Calling AWS Textract API |AWS - Clou...
 
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUMDEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
DEMONSTRATION LESSON IN ENGLISH 4 MATATAG CURRICULUM
 
Trauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical PrinciplesTrauma-Informed Leadership - Five Practical Principles
Trauma-Informed Leadership - Five Practical Principles
 
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdfRich Dad Poor Dad ( PDFDrive.com )--.pdf
Rich Dad Poor Dad ( PDFDrive.com )--.pdf
 

Services of Operating System

  • 1. B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Operating System KCS – 401 OS Services and System Components Dr. Pankaj Kumar Associate Professor – CSE SRMGPC Lucknow
  • 2. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar An Operating System supplies different kinds of services to both the users and to the programs as well. It also provides application programs (that run within an Operating system) an environment to execute it freely. It provides users the services run various programs in a convenient manner. Here is a list of common services offered by an almost all operating systems: • User Interface • Program Execution • File system manipulation • Input / Output Operations • Communication • Resource Allocation • Error Detection • Accounting • Security and protection
  • 3. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar User Interface Usually Operating system comes in three forms or types. Depending on the interface their types have been further subdivided. These are: • Command line interface • Batch based interface • Graphical User Interface The command line interface (CLI) usually deals with using text commands and a technique for entering those commands. The batch interface (BI): commands and directives are used to manage those commands that are entered into files and those files get executed. Another type is the graphical user interface (GUI): which is a window system with a pointing device (like mouse or trackball) to point to the I/O, choose from menus driven interface and to make choices viewing from a number of lists and a keyboard to entry the texts.
  • 4. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Program Execution • An operating system must be able to load many kinds of activities into the memory and to run it. The program must be able to end its execution, either normally or abnormally. • A process includes the complete execution of the written program or code. There are some of the activities which are performed by the operating system:  The operating system Loads program into memory  It also Executes the program  It Handles the program’s execution  It Provides a mechanism for process synchronization  It Provides a mechanism for process communication
  • 5. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar File system manipulation • The collection of related information which represent some content is known as a file. The computer can store files on the secondary storage devices. For long-term storage purpose. examples of storage media include magnetic tape, magnetic disk and optical disk drives like CD, DVD. • A file system is a collection of directories for easy understand and usage. These directories contain some files. There are some major activities which are performed by an operating system with respect to file management.  The operating system gives an access to the program for performing an operation on the file.  Programs need to read and write a file.  The user can create/delete a file by using an interface provided by the operating system.  The operating system provides an interface to the user creates/ delete directories.  The backup of the file system can be created by using an interface provided by the operating system.
  • 6. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar I/O Operations • The communication between the user and devices drivers are managed by the operating system. • I/O devices are required for any running process. In I/O a file or an I/O devices can be involved. • I/O operations are the read or write operations which are done with the help of input-output devices. • Operating system give the access to the I/O devices when it required.
  • 7. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Communication In the computer system, there is a collection of processors which do not share memory peripherals devices or a clock, the operating system manages communication between all the processes. Multiple processes can communicate with every process through communication lines in the network. There are some major activities that are carried by an operating system with respect to communication.  Two processes may require data to be transferred between the process.  Both the processes can be on one computer or a different computer, but are connected through a computer network.
  • 8. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Error handling An error is one part of the system that may cause malfunctioning of the complete system. The operating system constantly monitors the system for detecting errors to avoid some situations. This give relives to the user of the worry of getting an error in the various parts of the system causing malfunctioning. The error can occur anytime and anywhere. The error may occur anywhere in the computer system like in CPU, in I/O devices or in the memory hardware. There are some activities that are performed by an operating system: • The OS continuously checks for the possible errors. • The OS takes an appropriate action to correct errors and consistent computing.
  • 9. Operating System Services B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar Resource management When there are multiple users or multiple jobs running at the same time resources must be allocated to each of them. There are some major activities that are performed by an operating system: • The OS manages all kinds of resources using schedulers. • CPU scheduling algorithm is used for better utilization of CPU.
  • 10. Operating System Services B.Tech – CS 2nd Year Protection The owners of information stored in a multi-user computer system want to control its use. When several disjoints processes execute concurrently it should not be possible for any process to interfere with another process. Every process in the computer system must be secured and controlled. Accounting This service of the operating system keeps track of which users are using how much and what kinds of computer resources have been used for accounting or simply to accumulate usage statistics. Protection The owners of information stored in a multi-user computer system want to control its use. When several disjoints processes execute concurrently it should not be possible for any process to interfere with another process. Every process in the computer system must be secured and controlled.
  • 11. Queries ??????? B.Tech – CS 2nd Year Operating System (KCS- 401) Dr. Pankaj Kumar