What are the parameters of PCB
The eduladder is a community of students, teachers and programmers just interested to make you to pass any exams. So we solve question papers for you.
See Our team
Wondering how we keep quality?
Got question?

Ask Questions

Use Me  ?

New searches
You are here:-->View note-->View question

What are the parameters of Process Control Block?



Taged users:

Be first to like this question

Be first to dislike this question
Talk about thisDelete|Like|Dislike|


Each process is represented in the operating system by a Process Control Block (PCB) also called as Task Control Block.
The operating system groups all information that needs about a particular process into a data structure called a PCB or Process Descriptor.
When a process is created, operating system creates a corresponding PCB and released whenever the process terminates.
The information stored in PCB includes:
Process name (ID)
State (ready, running, suspended)
Hardware state (processor registers and flags)
Scheduling information and usage statistics
Memory management information
I/O status (allocated devices, pending operations)
File Management information (open files, access rights)

Description of process control blocks sections:
Process State: The state may be new, ready, running, waiting, halted and so on.
Program counter: The counter indicates the address of the next instruction to be executed for this process.
CPU registers: The registers vary in number and type, depending on the computer architecture. They include accumulators, index registers, stack pointers and general purpose registers, plus any condition code information.
CPU scheduling information: This information includes a process priority, pointers to scheduling queues and any other scheduling parameters.
Memory management information: This information may include such information as the value of the base and limit registers, the page tables or the segment tables, depending on the memory system used by the OS.
Accounting information: This information includes the amount of CPU and real-time used, time limits, account numbers, job or process numbers and so on.
I/O status information: This information includes the list of I/O devices allocated to the process, a list of open files and so on.


Be first to like this answer

Be first to dislike this answer
Talk about thisOnce you have earned teacher badge you can edit this questionDelete|Like|Dislike|

You dont have permission to add an answer herePlease see this

Join us to pass any exams easily