Skip to main content

process management

the Program under execution is called as process

  • It should be reside in the main memory
  • It is occupied the CPU, to execute the instructions
  • Active and Dynamic

Attributes of the process

All the attributes of the process is called context of the process. These are stored in the process control block (pcb). Each process have its own PCB

  1. process id process id is the unique identification number assigned by OS at the time of process creation
  2. Process State it contains current state information of a process
  3. Program counter contains the address of the next instruction to be executed
  4. Priority is the parameter assigned by OS at the time of process creation
  5. List of open Files
  6. List of open devices
  7. Protection information

States of Process

  1. New
  2. Ready
  3. Run
  4. Wait or block
  5. Termination or completion
  6. Suspend ready
  7. Suspend wait or suspend block

operations on process

  1. Create
  2. Scheduling
  3. Dispatching
  4. Execution
  5. Killing or termination
  6. Suspend
  7. Resume