Components of Operating System _ GeeksforGeeks
Components of Operating System _ GeeksforGeeks
Process Management
A process is a program in execution. It consists of the followings:
Executable program
▲
Program data
Open In App
Stack and stack pointer
Program counter and other CPU registers
Details of opened files
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
Open In App
provides a system call for file management. The system call for file
management includes:
File creation
File deletion
Read and Write operations
Command Interpreter
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:
Open In App
The command is implemented through a system file. The necessary
system file is loaded into memory and executed.
System Calls
Process Management
Memory Management
File Operations
Input / Output Operations
Signals
Signals are used in the operating systems to notify a process that a
particular event has occurred. Signals are the software or hardware
interrupts that suspend the current execution of the task. Signals are also
used for inter-process communication. A signal follows the following
pattern :
Network Management
The complexity of networks and services has created modern challenges
for IT professionals and users. Network management is a set of processes
and procedures that help organizations to optimize their computer
networks. Mainly, it ensures that users have the best possible experience
while using network applications and services.
Security Management
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.
Open In App
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.
Conclusion
In Conclusion, the components of an operating system work together to
make a computer system function easily. Each component, from process
management to security, plays a unique role in handling tasks, managing
resources, and ensuring data safety. By coordinating these functions, the
Open In App