Program and Process

Program

An executable file in the disk

Process

  • An executing instance of a program with an unique process
  • ps - report current processes
  • top - display processes

CPU Scheduling

Concept

  • The process of deciding which process should occupy the resource
  • Every core can only execute one process at a time
  • User can change a process priority

Multitasking

Multitasking


UNIX Process

Shell

D-SP-Ch1gb-Shell_Process