When you turn on your computer, you might assume that you have control over how the mouse and keyboard will move and perform. However, a lot of activities are going on inside it at the same time, and the operating system (OS) is in charge of overseeing everything. In this article, we’ll talk about what an operating system (OS) is, how it controls hardware resources, what kinds of things it can do, and how it operates on your computer.
An operating system definition (OS)
An operating system (OS) is a strong piece of software that organizes and controls the hardware and software of a computing device to ensure that it behaves in a consistent but adaptable manner. Between a user and a device, an OS serves as an interface. An operating system, then, is generally speaking the software that enables a user to run other apps on his computing device.
Operating System is a term used to describe all computers and devices that resemble computers, such as laptops, desktops, and other smart computing devices like smartwatches and smartphones.
The most well-known operating systems include Linux, OS X, Windows, VMS, OS/400, AIX, z/OS, etc.
Operating System Hardware Resource Management
The OS handles a variety of tasks and management. We shall learn how it controls the hardware resources of the computer by providing the necessary services with various examples:
Front End Hardware Resource Management
- controlling devices used for input and output, including a mouse, keyboard, display monitors, scanners, and printers.
- Taking care of network hardware such as modems, routers, and connections.
- Taking care of external and internal storage devices.
Utilizing Software Applications on the Back End to Manage Hardware Resources
- It controls how much internal memory is distributed across various apps.
- An OS notifies an interactive user through a message about the operation’s status and any errors that may have happened.
- It facilitates the completion of batch tasks, such as printing, etc.
- A program is controlled by the operating system so that it can operate on multiple processors at once, depending on the capacity of the devices that can enable parallel processing.
Memory administration
The OS’s management of primary and secondary memory is one of its core duties. The OS manages all memory devices, including hard drives, USB drives, and more.
Every memory location is monitored by memory management, regardless of whether it is allocated or not (free). The Operating System also decides and verifies how much memory should be allotted to the processes. It determines and verifies which process will access memory when.
Device Administration
Device communication is controlled by an OS with the aid of the appropriate drivers. An operating system handles the following tasks for managing devices:
- Keep an eye on every piece of equipment. I/O controller is in charge of carrying out this task.
- It determines when and how long each process will receive the device.
- It efficiently allots and releases space on the device.
Processor Control
The operating system chooses which process receives the processor when and for how long in a multiprogramming environment. The name of this activity is process scheduling. The OS performs the following tasks for processor management:
- It monitors processor tasking and updates process status. This work is done by traffic controllers.
- When a process is finished and no longer necessary, the processor is both allocated and released.
Records Management
In a file system, folders are often set up for use and simple navigation. An operating system handles files in the following ways:
- It maintains track of things like status, information, and location. The File System is the name given to this group.
- It makes the allocation of resources.
- It distributes and removes resources.
System performance controls
An OS keeps track of the intervals between a request and the system’s answer.
Security
An operating system (OS) safeguards and controls unauthorized users from accessing the data and application via passwords and other similar approaches.
Detection of Errors
An operating system aids in error prevention by using a variety of error detection tools.
Coordination between users and software
It organizes and distributes to users compilers, assemblers, interpreters, and other software.
Accounts for jobs
It continuously maintains track of the tasks and resources used by many users.
Operating System Types
Based on their controlling and supporting mechanisms, the large family of operating systems can be divided into four kinds. These operating system types include:
- Operating System in Real Time (RTOS)
- OS with a single user and one task
- Multi User OS Single User Multi Tasking OS
Operating System in Real Time (RTOS)
Real-time applications that process data instantly and without buffer delays are the goal of an RTOS. An operating system that is time-bound and subject to set deadlines is called a real-time operating system. Processing must be completed within the specified time limits, otherwise, the system would undoubtedly fail. Air traffic control systems, command control systems, and other systems are examples of real-time systems.
Real-time systems are divided into different forms based on two different criteria: internal and external influences to the computer system. In Hard Real Time Systems, a deadline missed is disastrous. It could result in a large loss in the case of soft real-time systems. Although there is a deadline in Firm RTOS, missing it has no consequences.
The best examples of hard real-time systems are command control and air traffic control systems. The best examples of Soft Real Time systems are online transaction systems, such as those used to purchase film tickets or make airline reservations. One type of Firm RTOS is used in multimedia applications.
Operating System for a Single User, Single Task
A Single User Single Task OS is a system in which only one program is running at once, as the name suggests. It controls the computer so that one user may effectively complete one task at a time. These kinds of Operating Systems have the drawback that the software must be organized in a queue.
Multitasking Operating System for One User
Today, the majority of people utilize this operating system on their desktops, laptops, and computers. Apple’s macOS operating system and Microsoft’s Windows are the best examples of this type of operating system.
With the help of this operating system, one person may run multiple apps simultaneously. For instance, a Windows user might be downloading a file from the Internet, printing a Word document, and sending an email at the same time.
Operating System with Multiple Users
Multiple users can access a single system thanks to multi-user operating systems running on various desktop or laptop computers. Through a network, a user at a terminal or desktop can access the system and other system-attached devices like printers.
In a balanced way, the operating system attends to all the needs of the many users. Additionally, it makes sure that each program being used has a distinct and adequate resource so that a user’s issue doesn’t affect the entire user base.
