Operating System serves two important purposes:
- It acts as an interface between the end user’s applications and computer hardware which provides an environment for building and executing the applications.
- It is responsible for allocating the different resources among different users and their applications.
Important functionalities of an operating system are:
The Operating system is a collection of different sub-systems and each has its importance. A few of the important sub-system and their importance are:
- It helps OS to create, manage, and to delete the processes. It also provides a mechanism for synchronization and communication among processes.
- It provides an environment where an application is built and loaded into the main memory and executed.
- Each program needs memory for its execution and so this module is responsible for allocating, and deallocating memory needed by a program.
- This is responsible for file-related activities such as organizing, retrieve, naming, sharing ,and protecting the files.
- In Unix and its derivatives such as Linux, everything is considered a file.
- This keeps track of all devices such as I/O devices and also allocates and de-allocates devices.
- This is responsible for maintaining primary, secondary storage, and cache storage. Instruction and data must be in the main memory or cache for execution.
- CPU scheduling is assigning the processor to the process that is a change of ready state to running state of the process.
- CPU scheduler selects a process among the processes that are ready to execute and allocates CPU to one of them.
An interrupt is a signal sent to the kernel upon a request by a system call. The kernel is responsible for handling such interrupts and calls appropriate system call system routine.
The request from any hardware devices, specifically the input and output devices is sent to the kernel first which then sends it to the appropriate hardware. Kernel acts as an interface between user applications and hardware(device drivers).
- Introduction to Operating System
- Types of Operating system
- History of Linux Operating System
- Architecture of Linux Operating System
- Components of Operating System
Categories: Operating system (OS)
Leave a Reply