#Process Management //

                               #PROCESS MANAGEMENT#

#PROGRAM & PROCESS

Program is a set of instruction and collection of subroutines . It’s used to provide a flaxiable
interface for the user where other hand process is execution of program for the user .

#PROCESS STATE

A process state is the execution behavior where task are executed for further execution
with comparing program . process may have various stages to perform task . in process
state the possible state are –

: NEW
:READY
:RUNNING
:WAITING (HOLTING)
:TERMINATE

In other word a process state execute in various stages from start to end .

#NEW :-

In new state the program is created for execution from the job queue. The process
management decide new process is to be executed from the several job.

# READY :-

Ready state is a state where new job are confirm to be executed ,this is actually a first
state of process state

# RUNNING :-

In this state process are being executed . it’s just started after ready state .
#WAITING (HOLTING) :-

In this state job is stopped by the process management during running of program .
this state basically preferred when interrupt is called .

# TERMINATE :-

Terminate state is a final state of process state which is consider completion of job this
is called after successful transcation or called operation .

#PROCESS SCHEDULING

A process scheduling is a method of selection of from the process queue . in
multiprogramming invoirment there are multiple task given to computer for
processing ,these all task are substitute into a process manager according to different
scheduling criteria’s . these are –

1. FCFS ( frist come first serve )
2. SJF (shortest job first )
3. RRT ( Round Robin technique )
4. PBT ( Priority based technique )

# GOOD SELECTION PROCEDURE OF PROCESS SCHEDULING

A process manager select a proper scheduling technique which has specific advantage
over better processing management . the selection procedure are made according to ----
---
 :Better throughput
 :Less turn around time
 :Less waiting time
 :Less execution time
 :High performance . etc

(1) FCFS :--

It stand for first come first serve , as name suggested the process manager pick
very first arrival from the job queue . This method do not see time given or assign to the
job , it normally pick one by one job according to arrival .
Scheduling :-j1<j2<j3,j4 (fcfs)

(2 ) SJF :-

It stand for shortest job first , in which the job having least executed very first ,
then it find next another shortest until completion .
Job queue
Scheduling :- j4<j3<j1<j2 (sjf)

(3) PBT :--

Is stand for priority based technique in which process manager put priority to every job
and selection is done according to based on priority .
Scheduling :- j3<j1< j4< j2( pbt).

(4) RRT :--

It’s stand for Round Robin technique , in this scheduling time slice is aimed at
providing fair service to all request . in the RR scheduling each process is scheduled on
the basic of fix time interval or time slice . A process with a burst time smaller than the
time slice left the CPU earlier and the process with burst time higher than the fixed time
slice have to left the CPU after expairing of time slice .

#Process Management //

                                #PROCESS MANAGEMENT# #PROGRAM & PROCESS Program is a set of instruction and collection of subroutin...