Operating System as a Resource Manager | With Example

operating system list, operating system types
What is an Operating System

An Operating System is a collection of programs and utilities. It acts as an interface between user and computer. It creates the user-friendly environment.

Another main operating system function is resource management. The operating system collects all the resources in the network environment and allocates the resources to requesting process in an efficient manner.

Operating System Example

A user wants to copy a program from floppy disk to hard disk, the user working with DOS(Disk Operating System), as the user has to type command, that is C:\Copy a:\file name and press the enter key, then the program will copy from floppy disk to hard disk.

So the user copies the program without using the operating system, then the user has to write a program for copy command. Then only the user can copy the program with the help of user-written copy command, it is very difficult for users. So, the operating system creates the user-friendly environment.

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.

For example, a CPU in the time-sharing system. In the time-sharing system, OS fixes the time slot for the CPU. First one of the processes gets the CPU, when the time slot expires, the CPU switch to the next process in the ready queue. In this example, the CPU is a time resource. CPU Scheduling in Operating System

The other kind of sharing is the "space sharing". In this method, the users share the space of resource. For example, the main memory consisting of several processes at a time, so the process of sharing the resources.

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

I hope you have cleared about the Operating System concepts.

Practice MCQ Questions on SabQuiz

Practice Now

Memory Management in OS(Operating System)