0% found this document useful (0 votes)
8 views7 pages

Process Management 2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views7 pages

Process Management 2

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Process Management

P res ented by:


Aekeesh Jaiswal (RA2311003030006)
Divya Barnwal (RA2311003030007)
Rohit Singh (RA2311003030008)
Arunabh K umar (RA2311003030009)
Introduction to Process
Management
P rocess management oversees the lifecycle of processes, from
their creation to termination. It involves tasks like allocating
resources, scheduling execution, and handling communication
between processes

 P roces s Creation: The process of launching new programs


and assigning them resources for execution.
 Proces s Execution: S cheduling processes to run on the CP U,
prioritizing tasks, and managing memory allocation.
 Proces s Termination: Gracefully ending processes when
they complete their tasks or encounter errors , releasing
resources back to the system.
 Proces s Communication: F acilitating interaction and data
exchange between different processes.
Process Scheduling
Process scheduling is the mechanism by which the operating
system decides which process to run at a given time, ensuring fair
allocation of CPU resources and optimizing overall system
performance.
 Short-Term Scheduler: Chooses the next process to execute
from the ready queue, based on scheduling algorithms and
priorities.

 Long-Term Scheduler: Determines which processes from the


secondary storage should be loaded into the ready queue,
ensuring a balance of active processes.

 Scheduling Algorithms: Different algorithms like First-Come,


First-Served (FCFS), Shortest Job First (SJF), Priority
Scheduling, and Round Robin are used to make scheduling
decisions.
Operations on Processes
Operating systems provide mechanisms to manage the lifecycle
of processes, enabling the creation, termination, suspension,
and resumption of processes as needed.

 Process Creation: Initiates a new process, allocating resources


like memory and assigning a unique Process ID.

 Proces s Termination : Gracefully ends a process, releasing its


resources and removing it from the system.

 Proces s Suspens ion: Temporarily pauses a process's


execution, saving its state for later resumption.

 Proces s Resumption: R estores a suspended process, allowing


it to continue from its saved state.
Inter-Process Communication
Inter-Process Communication (IPC) allows processes to share data and coordinate activities, enabling cooperative or competitive interactions
between them.

Shared Memory Message P assing


A region of memory accessible by Processes send messages to each
multiple processes, allowing other through communication
efficient data exchange. channels, facilitating asynchronous
interactions.

Pipes Sockets
A unidirectional communication A generalized communication
channel connecting a parent mechanism allowing processes on
process to its child, allowing data different machines to establish
flow in a specific direction. connections and exchange data.
Communication in Client-Server Systems
Client-server systems rely heavily on IP C mechanisms for communication. Clients send requests to servers, which process the requests and
send back responses. This architecture is widely used for web services, databases, and other applications.

Client Initiates the communication by sending a request to the server.

Server Listens for incoming requests, processes them, and sends


responses back to the client.

Communication Protocol Defines the format and rules for data exchange between the
client and server. Examples include HTTP, TCP /IP.
Conclusion
Process management plays a crucial role in modern operating systems, enabling efficient utilization of resources, smooth execution of programs, and
seamless communication between different applications.

Resource Management Process S cheduling


Efficiently allocating and managing Determining which process should run
system resources, ensuring optimal on the CPU at any given time.
performance.

Inter-Process Communication Security


Enabling processes to interact and Protecting processes from unauthorized
exchange data, promoting collaborative access and malicious activity.
tasks.

You might also like