본문 바로가기

Programming/Lecture Note

Operating System - Chapter3

What is process?


  • Definitions

 A program in execution

-  An instance of a program running on a computer

-  The entity that can be assigned to and executed on a processor

-  명령들의 순차 수행, 현재상태, 연계된 시스템 자원들의 집합등에 의해 특징지어지는 활동단위(A unit of activity)




  • Structures

Program code

-  a set of data

-  process information




  • PCB(Process Control Block)

-  managed by OS

-  수행 프로세스를 인터럽트한 후, 프로세스 수행을 재개할 수 있도록 정보 유지

-  Process = program code + 관련 data + PCB




  • Process Level

프로세스 궤적(trace)이란 프로세스를 위해 수행되는 명령어 리스트 CPU 행위의 특징은 trace 를 통해 파악가능