Operating System as a Resource Manager With Example

operating system list, operating system types

Read later
Save important notes and articles from internet using arusaquotes app.

An operating system (OS) is a software program that manages computer hardware and software resources and provides common services for computer programs.

It acts as an interface between the hardware components of a computer system and the applications that run on it.

The operating system performs various essential tasks such as managing memory, processing tasks, managing input/output operations, and controlling access to system resources like files, printers, and networks.

Without an operating system, it would be impossible to run application programs on a computer. Some examples of operating systems include Windows, macOS, Linux, Android, and iOS.

Operating System Example

If a user wants to copy a program from a floppy disk to a hard disk while working with DOS (Disk Operating System), they would need to type the command 'C:Copy a:filename' and press the enter key. This will initiate the copying process from the floppy disk to the hard disk.

When a user tries to copy a program without the assistance of an operating system, they would need to manually write a copy command program. This process can be difficult for users to accomplish.

However, an operating system can create a user-friendly environment that makes it easier for users to perform such tasks.

Here are some examples of operating systems

Microsoft Windows: One of the most popular operating systems for personal computers and laptops.

macOS: The operating system used on Apple's Macintosh computers.

Linux: An open-source operating system that is widely used on servers, supercomputers, and embedded devices.

Android: An operating system designed for mobile devices, such as smartphones and tablets.

iOS: The operating system used on Apple's iPhone and iPad devices.

Chrome OS: An operating system developed by Google for use on Chromebook laptops and other devices.

Unix: An operating system used on mainframe computers and servers.

Solaris: A Unix-based operating system developed by Sun Microsystems.

FreeBSD: An open-source operating system based on Unix.

IBM z/OS: An operating system designed for IBM mainframe computers.

Operating System is Like a Government

In a next manner, the operating system is like a government, the government collects the money from various services(Public, Companies, Taxes etc) and distribute the money to different development activities.

Same as the OS collects the resources from the network environment as to a system, and grant the resources to requesting jobs.

Operating System as a Resource Manager

A computer has many resources(Hardware and Software), which may be required to complete a task. The commonly required resources are Input/Output devices, Memory file storage space, CPU(Central Processing Unit) time and so on.

The operating system acts as the manager of these resources and allocates them to specific programs and users as necessary for their tasks. Therefore we can say an operating system is a resource allocator. This is the main features of an operating system.

When a number of computers connected through a network more than one computers trying for a computer print or a common resource, then the operating system follow same order and manage the resources in an efficient manner.

Generally, resources sharing in two ways "in time" and "in space". When a resource is a time-sharing resource, first one of the tasks get the resource for some time, then another and so on.

An example of resource management in an operating system is the CPU in a time-sharing system. In such a system, the OS allocates time slots for the CPU.

The first process in the ready queue gets the CPU, and when its time slot expires, the CPU switches to the next process in the queue. In this example, the CPU is a time resource that is managed by the operating system.

Another type of sharing in operating systems is space sharing. In this method, users share the space of a resource. For example, multiple processes can share the main memory at the same time. Therefore, the processes share the resource of main memory.

The main difference between time-sharing resources and space-sharing resources is that time-sharing resources are not divided into units, whereas space-sharing resources are divided into units.

In conclusion, An operating system is a collection of programs and utilities that acts as an interface between the computer and the user, creating a user-friendly environment.

One of the primary functions of an operating system is resource management. It collects all the resources available in the network environment and allocates them to requesting processes in an efficient manner.


Recommended Articles

Starvation and Aging in Operating Systems
Scheduling Algorithms in Operating System
Memory Management in Operating System
Spooling in Operating System
What is Deadlock in OS | Detection and Recovery from Deadlock
Threads in Operating System
Understanding Semaphores in Operating System
Implementing Arrays and Linked Lists in Your Programs
Introduction to Stacks and Their Applications in Programming