Operating systems related to hardware (hardware). The OS ( Operating System ) will carry out all activities starting from the 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 hardware device drivers 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 to work the operating system on a computer, let's look at the explanation below:
How Does the Operating System Work
To be more clear about the workings of the operating system in a computer, it is not only possible to know the name of the device that plays a role and is related to it. But we also need to know the function and its relationship with other devices such as hardware and software, and its capacity to store data.
Apart from hardware, the operating system also includes 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 an ongoing process, allocate it to the CPU which differs (between CPUs), and manages the internal memory (in) of the system, allocating them between ongoing processes.
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
In the process, the OS's role in the computer is as follows:
- A computer is turned on for the first time (stage beginning to start the process on the computer), then the computer will signal to the operating system that is stored on the hard disk via RAM.
- The part of the operating system that plays a direct role in performing the task of communicating to hardware is called the "Kernel".
- Section of the operating system that plays a role in connecting UI or the application interface with the user (user) called "Shell". There are 2 types of shells contained in a computer, namely:
- CLI (Command Line), a text-shaped shell
- GUI (Graphical User Interface), a graphical shell
Functions of the two shell types above are different 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 are many kinds. For example the most popular that is widely used on computer devices is Microsoft Windows, Macintosh. and Linux.
Operating System Tasks
Tasks or work methods of the operating system on computer equipment are as follows:
1. Perform management processes
Operating system will schedule each process, for example creating files, synchronizing between files, deleting files, communicating between files and others. Operating systems can also delay the process, stop the process by force, or continue the process.
Matters relating to continuing and delaying the process depend on RAM. Because the RAM functions to accommodate temporary processes and registers of processors that hold running processes (ongoing).
Matters relating to data or file processing will require the assistance of a subordinate "Control Unit". The control unit is a component for processing contained in the CPU.
2. Management of main memory
Operating systems 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 data output, for example data storage or buffering data scheduling or scheduling putting work in buffers or spooling and allocating drivers to hardware connected to CPU devices.
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 computer applications 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 tasks / workings of the computer operating system, OS also provides security (security) on computer devices. 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 others. Thus the article about how the operating system works, hopefully useful ?