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

Ask Questions

Use Me  ?

New searches
Integrated-Power-Electronics-Module-->View question


What are the parameters of Process Control Block?

Explain

By:scribed

Taged users:
|RahulR|pallaviaithaln|scribed|Rajiv|edu-Freak|arunwebber|shiva-kumar|neenu2|PerumalS|Bhaskar-k

Likes:
Be first to like this question

Dislikes:
Be first to dislike this question

Talk about thisDelete|Like|Dislike|


Answers

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)
Priority
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.


13priya

Likes:
Be first to like this answer

Dislikes:
Be first to dislike this answer
Talk about this|Once you have earned teacher badge you can edit this questionDelete|Like|Dislike|
------------------------------------

Can you help us to add better answer here? Please see this



Not the answer you're looking for? Browse other questions from this Question paper or ask your own question.

Join eduladder!