ENVS 1800 Lecture Notes - Lecture 7: Process Control Block, Program Counter, Minos

26 views2 pages
ENVS 1800 Lecture 7 Notes Process Creation
Introduction
Active processes are readily observable on the Linux system using the ps command.
Next, the PCB contains pointers to other, related processes.
This issue is related to the way in which new processes are created. It is discussed
The presence of this area simplifies communication between related processes.
Following the pointer area is an indicator of the process state.
In MINOS, four process states were possible: inactive, ready, blocked, and running.
In larger systems, there are other possible states; processor states are discussed later in
this section.
The program counter and register save areas in the process control block are used to
save and restore the exact context of the CPU when the process gives up and regains
the CPU.
Memory limits establish the legal areas of memory that the process may access.
The presence of this data simplifies the task of security for the operating system.
Similarly, priority and accounting information is used by the operating system for
scheduling and for billing purposes.
Finally, the process control block often contains pointers to shared program code and
data, open files, and other resources that the process uses.
This simplifies the tasks of the I/O and file management systems.
A little thought should make it clear to you that a process is created when you issue a
command that requests execution of a program
Either by double-clicking on an icon or by typing an appropriate command
There are also many other ways in which a process is created.
Particularly on interactive systems, process creation is one of the fundamental tasks
performed by the operating system.
Processes in a computer system are continually being created and destroyed.
The PCB contains pointers to other, related processes.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents