sign in
 
   
 
 
 
  INTRODUCTION TO OPERATING SYSTEM  
   
 
Functions of an Operating System
 
 
Process Management :- A process is program in execution. For the successful completion of its task a process it needs certain resources, including CPU time, memory, files and I/O devices. These resources are either given to the process when it is created, or allocated to it while it is running.

The operating system is responsible for following activities in connection with the process management:

• The creation and deletion of both process and system process
• The suspension and resumption of process
• The provision of mechanisms for process synchronization
• The provision of mechanism for process communication

 
     
 
Main-Memory Management :- The main memory is central to the operation of a modern computer system. Main memory is a large array of words or bytes ranging in size from hundreds of thousands to hundreds of millions. Each word or byte has its own address. CPU reads instruction from the main memory during the instruction fetch cycle and both reads and writes data from main memory during the data fetch cycle. The main memory is generally the only large storage device that CPU is able to address and access directly.
For a program to be executed that must be loaded into the main memory. When the program terminates its memory space is declared available, and the next program can be loaded and executed.
The operating system is responsible for the following activities in connection with memory management:
• Keep track of which part of memory are currently being used and by whom
• Decide which process are to be loaded in to memory when memory space become available
• Allocate and deallocate memory space when needed
 
   
   
   
 
File Management :- File management is one of the visible components of an operating system .Computers can store information on several different types of physical media. Magnetic tape, magnetic disk, and optical disk are most common media. Each of these media has its own characteristic and physical organization. Each medium is controlled by a device such as a disk drive or tape drive with its own unique characteristics.

For convenient use of the computer system the operating system provides a uniform logical view of information storage. The operating system abstracts from the physical properties of its storage device to define a logical storage unit, the file. The operating system maps files onto physical media, and access these files via storage devices.
The operating system is responsible for following activities in connection with the process management:
• The creation and deletion of files
• The creation and deletion of directories
• The support of primitives for manipulating files and directories.
• The mapping of files onto secondary storage
• The backup of files on stable (non volatile) storage media.

 
     
 
I/O system Management : - One of the purposes of an operating system is to hide the peculiarities of specific hardware devices from the user.
 
     
 
Secondary Storage Management :- Since main memory is too large the computer system must provide a secondary storage to backup main memory. Most modern computer systems use disks as the principle online storage medium, for both programs and data.
The operating system is responsible for the following activities in connection with disk management:
• Free space management
• Storage Allocation
• Disk scheduling
 
     
 
Net working :- A distributed system is a collection of processors that do not share memory, peripheral devices, or a clock. Instead each processor has its own local memory and clock, and processors communicate with one another through various communication lines, such as high speed buses or telephone lines.
The processors in the system are connected through a communication network which can be configured a number of ways. The communication network may be fully or partially connected.
 
     
  Command Interpreter System :- One of the most important system programs for an operating system is the command line interpreter, which is the interface between the user and the operating system. Some operating systems include the command line in the kernel. Other operating system such as MS-DOS and UNIX treat the command line interpreter as a special program that is running when job is initiated or when the user first logs on.  
 
Previous Page