What is a Process

The most central concept in any operating system is the process — an abstraction of a running program. In hindsight, a program is a set of instructions written to perform a specific task.

Background

A process is essentially a program that is being executed. It is fundamental to the structure of OS. There are different ways it can be defined, but in general it is comprised of:

  1. A program code
  2. A set of data associated with that code
  3. A number of attributes describing the state of process

While the program is executing, this process can be uniquely characterized by a number of attributes:

The attributes are used by the OS to create the process control block, which will cover next.

Process Control Block