CSC209H1 Chapter 7: DISCOVER Process Model - Part 1 of 1
Document Summary
Either source code (human-readable, the one we wrote) + info about the current state of process such as what instruction to execute next, or the current values of variables in memory. When a program is loaded into memory in preparation for executing the program, the memory layout has a structure that will already look familiar. All four taken together represent the state of the program. Hold the current value for other variables in the program. The operating system keeps track of some additional state for a process: Sp: process/task control block stores the current values of important registers, any open file descriptors and other state that the operating system manages each process has a unique identifier (process id) Your program is currently running a lot of processes. There is one for displaying this video and at least one for web browser, etc. On linux, can run top to see some of the active processes on your machine.