Components of Operating System
Components of Operating System
Open In App
Process Management :
Executable program
Program’s data
Stack and stack pointer
Program counter and other CPU registers
Details of opened files
Open In App
message-passing techniques. Two processes running on two different
computers can communicate by sending messages over a network.
Files Management :
Files are used for long-term storage. Files are used for both input and
output. Every operating system provides a file management service. This
file management service can also be treated as an abstraction as it hides
the information about the disks from the user. The operating system also
provides a system call for file management. The system call for file
management includes –
File creation
File deletion
Read and Write operations
Command Interpreter :
Open In App
There are several ways for users to interface with the operating system.
One of the approaches to user interaction with the operating system is
through commands. Command interpreter provides a command-line
interface. It allows the user to enter a command on the command line
prompt (cmd). The command interpreter accepts and executes the
commands entered by a user. For example, a shell is a command
interpreter under UNIX. The commands to be executed are implemented
in two ways:
System Calls :
Process Management
Memory Management
File Operations
Input / Output Operations
Signals :
Network Management :
Security Management:
Open In App
The security mechanisms in an operating system ensure that authorized
programs have access to resources, and unauthorized programs have no
access to restricted resources. Security management refers to the various
processes where the user changes the file, memory, CPU, and other
hardware resources that should have authorization from the operating
system.
The I/O device management component is an I/O manager that hides the
details of hardware devices and manages the main memory for devices
using cache and spooling. This component provides a buffer cache and
general device driver code that allows the system to manage the main
memory and the hardware devices connected to it. It also provides and
manages custom drivers for particular hardware devices.
The purpose of the I/O system is to hide the details of hardware devices
from the application programmer. An I/O device management component
allows highly efficient resource utilization while minimizing errors and
making programming easy on the entire range of devices available in their
systems.
Broadly, the secondary storage area is any space, where data is stored
permanently and the user can retrieve it easily. Your computer’s hard drive
is the primary location for your files and programs. Other spaces, such as
CD-ROM/DVD drives, flash memory cards, and networked devices, also
provide secondary storage for data on the computer. The computer’s main
memory (RAM) is a volatile storage device in which all programs reside, it
provides only temporary storage space for performing tasks. Secondary
storage refers to the media devices other than RAM (e.g. CDs, DVDs, or
hard disks) that provide additional space for permanent storing of data
and software programs which isOpen
alsoIn App non-volatile storage.
called
Main memory management :
"GeeksforGeeks helped me ace the GATE exam! Whenever I had any doubt
regarding any topic, GFG always helped me and made my concepts quiet
clear." - Anshika Modi | AIR 21
gupta… Follow 27
Next Article
Functions of Operating System
Similar Reads