Components of Operating System
Components of Operating System
Components of Operating System
There are various components of an Operating System to perform well defined tasks. Though most
of the Operating Systems differ in structure but logically they have similar components. Each
component must be a well-defined portion of a system that appropriately describes the functions,
inputs, and outputs.
. Process Management
2. I/O Device Management
3. File Management
4. Network Management
5. Main Memory Management
6. Secondary Storage Management
7. Security Management
8. Command Interpreter System
Process Management
A process is program or a fraction of a program that is loaded in main memory. A process needs
certain resources including CPU time, Memory, Files, and I/O devices to accomplish its task. The
process management component manages the multiple processes running simultaneously on the
Operating System.
The operating system is responsible for the following activities in connection with process
management:
Provides communication mechanisms so that processes can communicate with each others
Provides synchronization mechanisms to control concurrent access to shared data to keep
shared data consistent.
Allocate/de-allocate resources properly to prevent or avoid deadlock situation.
File Management
File management is one of the most visible services of an operating system. Computers can store
information in several different physical forms; magnetic tape, disk, and drum are the most common
forms.
A file is defined as a set of correlated information and it is defined by the creator of the file. Mostly
files represent data, source and object forms, and programs. Data files can be of any type like
alphabetic, numeric, and alphanumeric.
A files is a sequence of bits, bytes, lines or records whose meaning is defined by its creator
and user.
The operating system implements the abstract concept of the file by managing mass storage
device, such as types and disks. Also files are normally organized into directories to ease their use.
These directories may contain files and other directories and so on.
The operating system is responsible for the following activities in connection with file management:
Network Management
The definition of network management is often broad, as network management involves several
different components. Network management is the process of managing and administering a
computer network. A computer network is a collection of various types of computers connected
with each other.
Network management comprises fault analysis, maintaining the quality of service, provisioning of
networks, and performance management.
Network management is the process of keeping your network healthy for an efficient
communication between different computers.
Network administration
Network maintenance
Network operation
Network provisioning
Network security
Main memory is a volatile storage device which means it loses its contents in the case of system
failure or as soon as system power goes down.
Keep track of which parts of memory are currently being used and by whom.
Decide which processes to load when memory space becomes available.
Allocate and deallocate memory space as needed.
Most modern computer systems use disks as the principle on-line storage medium, for both
programs and data. Most programs, like compilers, assemblers, sort routines, editors, formatters,
and so on, are stored on the disk until loaded into memory, and then use the disk as both the source
and destination of their processing.
The operating system is responsible for the following activities in connection with disk
management:
Storage allocation
Disk scheduling
Security Management
The operating system is primarily responsible for all task and activities happen in the computer
system. The various processes in an operating system must be protected from each other’s
activities. For that purpose, various mechanisms which can be used to ensure that the files, memory
segment, cpu and other resources can be operated on only by those processes that have gained
proper authorization from the operating system.
Command Interpreter System executes a user command by calling one or more number of
underlying system programs or system calls.
Command Interpreter System allows human users to interact with the Operating System
and provides convenient programming environment to the users.
Many commands are given to the operating system by control statements. A program which reads
and interprets control statements is automatically executed. This program is called the shell and few
examples are Windows DOS command window, Bash of Unix/Linux or C-Shell of Unix/Linux.
Error detecting aids − Production of dumps, traces, error messages, and other debugging and
error detecting aids.
Coordination between other softwares and users − Coordination and assignment of
compilers, interpreters, assemblers and other software to the various users of the computer
systems.