There are several resources in the operating system, such as memory, caches, clusters, and many others. Resource in the operating system means the limited component that is available within the operating system.
It can be network connections, memory areas, or software files where videos, images, and other documents are stored. So basically, all connected devices and internal machinery elements are called resources in the OS (operating system).
What Is The Operating System?
An operating system is a software system that manages the equipment of computers, software resources, and computerized services. It interlinks between the users and computer hardware.
OS performs basic tasks such as memory management, process management, tackling input, output, and many other things. It also operates the connected hardware such as printer, web camera, disk, etc.
What Are The Resources Of The Operating System?
There are several resources in the operating system; we are going to discuss some of them.
1) Shared Resources
A shared resource may be software or hardware that is accessible by the computer, internet, and other things. For example, A printer connected to a computer is an example of a shared resource.
It is connected to a computer, and it is a resource for printing any content. Without a printer, it can be a possible function to print out resources in the hardware.
Another example of shared resources is a “network server farm” or “cluster,” which allows users to operate the complex tasks of multiple computers.
2) System Resource
A system resource is any internal component that is available in a computer. This refers to the amount available in a computer’s software memory. Sometimes a program in a computer reports “low system resources,” which means the computer is operating slowly.
In this case, we need to close other programs that are opened on the computer. So the system can run faster than before.
3) Hardware Resources
Hardware resources are devices that are set up in a way that can allow communication with the computer. The most known hardware resources are IRQ, I/O port, and DMA.
What Are The Functions Of An Operating System?
An operating system can manage from memory management to error detection. The area of functions in the operating system is vast. Below we have mentioned some of them.
1) Memory management
Memory management refers to the management that has main memory or primary memory. It is the large assembly of words or bytes, which has its own address.
Main memory can store data fastly, and it is accessed directly by the CPU. Therefore, when it is needed to execute any program, then it must be in the main memory.
An operating system does the below-mentioned activities for memory management.
- It tracks the primary memory, which means which part of this memory is used by whom or which part is not.
- In multiple programming, the operating system decides which function needs to get memory, how much, and when.
- An OS assigns the memory when a process requests it to do that.
- Operating systems can also deallocate when a process is no longer needed or is being terminated.
2) Device management
An OS can manage device communication through its inbuilt drivers. It functions following activities for device management.
- The OS can keep track of the activity of all devices. The program is known as the I/O controller.
- An operating system can decide by a process when and for how much time the device gets.
- An operating system can allocate the device in an effective manner.
- The Os can deallocate devices too.
3) File Management
File management in Operating systems can be easily organized for easy navigation and usage. This management system can contain files and other directions.
An operating system can do the below-mentioned activities for file management.
- An operating system can track the users’ location, uses, information, etc.,. The collective facilities are called file systems.
- The operating system decides which functions need resources.
- The OS allocates the resources.
- An operating system can deallocate resources.
4) Processor Management
The processor management of the operating system decides which process requires the processor for how much time and when. This computerized activity is called process scheduling.
An operating system can do the following activity.
- It can track the system and the status of the processor. The program is known as a traffic controller.
- The operating system allocates the connected processor(CPU) to a process
- When a process is no longer required, the operating system can deallocate too.
It can’t be possible to operate the system without resources. For example, humans can’t survive if they can’t remember. So this is the same thing.
The whole function of an operating system is running with the help of resource management. Resource management can track the time of a device as well as manage the space of the software applications.
We hope you found this article helpful; stay tuned for more such articles.