Operating Systems Process Management- Processes

Process Management

Chapter 3 Notes on Processes

What is a Process?

  • A Process is an instance of a program in execution

  • Batch systems work in terms of ‘jobs’, many modern process concepts are still expressed in terms of jobs (job scheduling).

A process is an active entity, instead of a program, which is considered a passive entity. A single program can create many processes when run multiple times.

Process Memory is Divided into four sections (Stack, heap, data, and text) What a Process looks like in memory?

Process State

Process may be in one of 5 states:

  • new
  • ready
  • running
  • Waiting
  • Terminated

Process Control Block

Process Scheduling

https://pages.cs.wisc.edu/~gerald/cs537/Fall17/