Explanation Regarding How the Operating System Works, Let's Look!

by Kelvin
Explanation Regarding How the Operating System Works, Let's Look!

Operating system related to hardware (hardware). OS (Operating System) will do everything from mouse and keyboard, screen and storage devices. This means that the operating system will handle all devices both output and input data. The operating system uses device drivers from hardware to be able to communicate / interact with the device.

Hardware (hardware) has a close relationship in the operating system. Without an OS, the computer hardware is just an inanimate object or useless device. With the operating system, all software (software) applications will interact with the hardware (hardware).

To find out how the operating system works on a computer, let's look at the explanation below:

How it Works Operating System

How it Works Operating System

For more details about the workings of the operating system in a computer, it can not only be by knowing the name of the device that plays a role and is related therein. But we also need to know the functions and relationships with other devices such as hardware and software, and their capacity to store data.

Apart from hardware, the operating system also covers software. For example general system services, library services, APIs (application programming interfaces) that are used to create and develop programs that run on the operating system.

The operating system functions to control a process that is running / ongoing, allocate it to a different CPU (between CPUs), and manage the internal memory (in) the system, allocate it between processes that are ongoing / running.

The operating system uses hardware drivers to communicate with the device itself. For example an application for the process of printing files / documents, the command will be carried out by the operating system. Where the operating system will send instructions to the printer to print using printer diver. Here the role of the OS is as a connector.

Operating System Overview

Chart How the Operating System works

In the process, the role of the OS in a computer is as follows:

    A computer is turned on for the first time (the initial stage to start the process on a computer), then the computer will give a signal to the operating system stored on the hard disk through RAM. The part of the operating system that directly plays the role of communicating to hardware is called the "Kernel". Part of the operating system that plays a role in connecting the UI or application interface with the user (user) is called "Shell". There are 2 types of shells contained in a computer, namely:
    CLI (Command Line), a GUI (Graphical User Interface) text-shaped shell, is a graphical shell

The functions of the two shell types above are different. CLI (Command Line) is used to speed up operating access. (GUI) Graphical User Interface is used to facilitate the user (user) operating a computer. The most widely used at this time is the GUI mode.

At present, the types of operating systems have many varieties. For example the most popular one that has been widely used on computer devices is Microsoft Windows, Macintosh. and Linux.

Operating System Tasks

How it Works Operating System and its Tasks

The tasks or workings of the operating system on a computer device are as follows:

1. Perform process management

The operating system will schedule each process, for example creating files, synchronizing between files, deleting files, communicating between files and others. The operating system can also delay the process, stop the process by force, or continue the process.

Matters relating to proceeding and processing delays depend on RAM. Because the RAM is used to accommodate temporary processes and registers of processors that hold running processes (ongoing).

Matters relating to processing data or files will require assistance from a "Control Unit". The control unit is a component for processing contained in the CPU.

2. Management in main memory

The operating system must be able to manage and allocate the amount of memory needed by the device, as well as the address / location of the memory needed to accommodate the process. If an OS cannot do this, there will be an overlapping process so that the device will error or hang because there will not be enough memory to accommodate the many process loads.

3. File management

In file management, there are 4 most important parts, namely: writing files (write data, copy, or temple data), save files, open files and delete files.

4. Management of input and output systems

Operating systems must be able to manage an input (input data) and output (output data). Input data is data provided by the user through the mouse, keyboard, or other war. Whereas the output data, for example data storage or buffering, data scheduling or scheduling, putting work in the buffer or spooling and transfer drivers to hardware connected to the CPU device.

5. Management of secondary storage

Secondary storage is associated with secondary storage media (different from the main media) such as hard disks, DVDs, SSDs, USB flash drives, and others. Generally files / data created will be stored by a computer application on secondary media storage.

Primary storage media are limited and temporary. The OS also performs a variety of data / file intermediaries that want to be stored on secondary storage media based on several aspects, such as optimization, efficiency and security.

Apart from the five things the task / way of working from the computer operating system, the OS also provides security (security) on computer equipment. This aims to ensure the security of computers from cyber or irresponsible users so they cannot use it, steal or even abuse our computer devices. Therefore, provided user login, anti malware, firewall and so forth. Thus the article about how the operating system works, hopefully useful ????