Unit1 Process
Unit1 Process
Chapter : Processes
Process Concept
Process Scheduling
Operations on Processes
Process
A program is a passive entity, such as a file containing a list
of instructions stored on disk.
Queuing Diagram
Schedulers
Schedulers are special system software which handle
process scheduling in various ways.
Their main task is to select the jobs to be submitted into
the system and to decide which process to run.
1. Process Creation
2. Process Termination
Process Creation
Parent process create children processes, which, in turn
create other processes, forming a tree of processes
UNIX examples
fork () system call creates new process
exec() system call used after a fork to replace the process’
memory space with a new program
fork()
System call fork() is used to create processes.