























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concepts and elements of an operating system's process control block (pcb) and the different process states in an operating system. It covers the process creation, termination, and the two-state and five-state process models. The document also explains the reasons for process suspension and the operating system control structures, such as memory tables, i/o tables, file tables, and process tables.
Typology: Slides
1 / 63
This page cannot be seen from the preview
Don't miss anything!
























































Process
A program in execution
An instance of a program running on a computer
The entity that can be assigned to and executed on
a processor
A unit of activity characterized by the execution of a
sequence of instructions, a current state, and an associated set of system instructions
Process Control Block
Memory pointers
Includes pointer to data and memory address
Context data
These are data that are present in registers
I/O status information
Include I/O request , I/O devices and list of files used by the process
Accounting information
Includes amount of processor time, clock time used time limits and so on.
Process Control Block
Trace of Process
Example Execution
Two-State Process Model
Process may be in one of two states
Running
Not-running
Processes
ready to execute
waiting for I/O
A Five-State Model