4. Operating System Services
• The operating system provides certain services to
programs and to the user of those programs
• These services include
– User interface
– Program execution
– I/O operations
– File system management
7. Operating System Services
User interface
• All Operating Systems have a user interface. Types
of user Inter faces are
• Command –line interface, Batch inter face, GUI
Program execution
• Starting of programs, managing their execution and
communicating their results
8. Operating System Services
I/O operations
• Mechanism for initiating and managing I/O operation
File system management
• Creating, maintaining and manipulating files
Communications
• Between processes of the same user and different users
Error detections and handlings
• Protection related issues
8
9. Operating System Services
• Safety in the case of power failures via backups
• Detecting and desirable states such as printer out of
papers
Resources allocations
• Includes processor and I/O scheduling, memory
management
Accounting
• To track user usage of resources for billing and statistical
reasons
9
10. Operating System Services
Protection
• One process must be protected from another
Command interpretation
• User entered commands will be interpreted and
appropriate action will be performed
Resource management
• The various resources of the system are
managed in an optimal way
10
11. Summary
• The operating system provides certain services to
program and to the user of those programs
• These services include
– Program execution and handling
– I/O operations
– File system management
– Communications
– Exceptions detections and handlings
11