Operating system as resource manager:
· A computer system usually has many hardware and software resources such as processor , memory, disk printer, I/O devices etc.
· The task of resources management becomes essential in multi-user operating system where different user compute for the same resource.
Operating system manages resources in two ways :
1. Time multiplexing :it defines the sharing of resources on the basis of fixed time slices. For example, the operating system allocate the resources, such as CPUto program A for fixed time slice.
2. Space timing: it defines the concurrent sharing of resources among different programs.for example, sharing of hard disk and main memory is space multiplexing.
FUNCTION OF OPERATING SYSTEM
The primary function of an operating system is to provide an environment for excecution of users program . the various function of operating system are:
1. process management
2. main memory management
3. secondary storage management
4. file management
5. I/Omanagement
6. Protection and security
7. Networking
8. Command interpretation
1.Process management:
· The process management refers to assignment of processor to different task being performed by the computer system.
· The operating system responsible for the following activities in connection with process management :
1. Creating and deleting both user and system processes.
2. Suspending and resuming processes.
3. Providing mechanisms for process synchronization such as semphores.
4. Providing mechanism for process communication
5. Providing mechanism for deadlock handling. Deadlock is a condition in which the number of processes wait infinity for some shared resource.
Thanku for such a post
ReplyDeleteThank you for sharing this blog. With companies hiring employees across branches, cities, and even countries – it's no longer possible to manage resources manually. Businesses have to look beyond spreadsheets for resource allocation. To manage the project in good manner, we need a resource manager software.
ReplyDelete