Windows, Linux & others utility tools Tips & Tricks

Operating Systems Services

The following are the five services provided by an operating system to the convenience of the users.

Program Execution
The purpose of a computer system is to allow the user to execute programs. So, the operating systems provide an environment where the user can conveniently run programs. The user does not have to worry about memory allocation or multitasking or anything. These things are taken care of by the operating systems.
Running a program involves allocating and deallocating memory, CPU scheduling in case of multiprocessing. These functions cannot be given to the user-level programs. So, user-level programs cannot help the user to run programs independently without the help from operating systems.

I/O Operations

Each program requires input and produces output. This involves the use of I/O. The operating systems hides the user the details of underlying hardware for the I/O. All the user sees is that the I/O has been performed without any details. So the operating systems by providing I/O makes it convenient for the users to run programs.
For efficiently and protection users cannot control I/O so this service cannot be provided by user-level programs.


File System Manipulation

The output of a program may need to be written into new files or input taken from some files. The operating systems provide this service. The user does not have to worry about secondary storage management. User gives a command for reading or writing to a file and sees his/her task accomplished. Thus, operating systems make it easier for user programs to accomplish their task.
This service involves secondary storage management. The speed of I/O that depends on secondary storage management is critical to the speed of many programs and hence I think it is best relegated to the operating systems to manage it than giving individual users the control of it. It is not difficult for the user-level programs to provide these services but for the above-mentioned reasons it is best if this service s left with the operating system.


Communications

There are instances where processes need to communicate with each other to exchange information. It may be between processes running on the same computer or running on different computers. By providing this service the operating system relieves the user of the worry of passing messages between processes. In the event where the messages need to be passed to process on the other computers through a network it can be done by the user programs. The user program may be customized to the specifics of the hardware through which the message transits and provides the service interface to the operating system.


Error Detection

An error in one part of the system may cause malfunctioning of the complete system. To avoid such a situation the operating system constantly monitors the system to detect the errors. This relieves the user of the worry of errors propagating to various parts of the system and causing malfunctioning.
This service cannot be handled by user programs because it involves monitoring and in cases altering area of memory or deallocation of memory for a faulty process. Or maybe relinquishing the CPU of a process that goes into an infinite loop. These tasks are too critical to be handed over to the user programs. A user program if given these privileges can interfere with the correct (normal) operation of the operating systems
Operating Systems Services Operating Systems Services Reviewed by Parveen Kumar on May 28, 2010 Rating: 5

No comments:

In the digital age, privacy concerns are more pressing than ever.  A tutorial titled "How to hide folders" seems to provide many u...

Powered by Blogger.