0% found this document useful (0 votes)
22 views1 page

Process Management

Uploaded by

Mohd Faizan Alam
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)
22 views1 page

Process Management

Uploaded by

Mohd Faizan Alam
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/ 1

Process Management

What is a Process?
• Definition: A process is an instance of a program in execution.
• States of a Process:
◦ New: Process is being created.
◦ Ready: Waiting to be assigned CPU time.
◦ Running: Instructions are being executed.
◦ Waiting: Process is waiting for I/O.
◦ Terminated: Process execution is complete.

Process Scheduling
• Goal: Optimize CPU usage and reduce process waiting time.
• Schedulers:
1. Long-term Scheduler: Determines which processes are
admitted.
2. Short-term Scheduler: Allocates CPU to ready processes.
3. Medium-term Scheduler: Temporarily removes processes from
memory.

Interprocess Communication (IPC)


• Mechanisms:
◦ Shared Memory
◦ Message Passing
◦ Pipes
◦ Sockets

Examples of Process Management Algorithms

1. First-Come, First-Served (FCFS)


2. Shortest Job Next (SJN)
3. Round Robin (RR)
4. Priority Scheduling

You might also like