Beruflich Dokumente
Kultur Dokumente
LECTURE - 2
K.ARIVUSELVAN
Assistant Professor (SG) (SITE)
VIT University
PROCESS MANAGEMENT
Program
static libraries
(libc, streams)
compiler/
assembler Linker
source .o files
file
Executable file
PROCESS
Program in Execution
The collection of data structures that fully describes how far the
execution of the program has progressed.
PROCESS
STACK: Holds
=> Local variables
=> Temporaries & Procedure Calls
=> Return addresses
Processes in Memory
PROGRAM PROCESS
Active Entity
Passive Entity
{Contains program counter,
{Content of file stored on
specifying next instruction to
disk}
execute}
Process Identification
Process State
Information PCB
Process Control
Information
User Stack
User Address Space
(Code& Data)
Shared Address Space
Process 1 PImg-1
Process 2 PImg-2
.
Process n PImg-n
Primary Process Table Process
Image
* To maintain the process, its image must be brought into main memory
Process Images in Main Memory
Structure of PCB