Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Process control block vs process table?

Struggling to work out the difference between a process control block and a process table.

A process table as far as I can see is a table that stores what was the last 'processed' instruction, and what is next in that queue?

As far as I can see a process control block seems to do the same?

Can someone clarify this to me please?

like image 528
Jay Avatar asked May 27 '13 16:05

Jay


People also ask

What is a process table?

The process table is a data structure maintained by the operating system to facilitate context switching and scheduling, and other activities discussed later.

What is process control block?

A process control block (PCB) is a data structure used by computer operating systems to store all the information about a process. It is also known as a process descriptor. When a process is created (initialized or installed), the operating system creates a corresponding process control block.

Is page table stored in process control block?

PCB(Process Control Block) contains Page Table along with other info, and PCB is in system space.

What is stored in a process table?

The Process Table (PT) contains an entry for each process present in the system. The entry is created when the process is created by a Fork system call. Each entry contains several fields that stores all the information pertaining to a single process.


1 Answers

A process control block (pcb) contains information about the process, I.e. registers, quantum, priority, etc.

The process table is an array of pcb's.

like image 65
Luke A. Guest Avatar answered Nov 20 '22 10:11

Luke A. Guest