Os Unit 2 Part3
Os Unit 2 Part3
Os Unit 2 Part3
4. CPU registers: Looks at how the process's associated CPU registers are
now working. Examples include stack pointers, general-purpose
registers, and program status flags. Processes can continue operating
uninterrupted during context changes by saving and restoring
register values.
8. I/O status: The PCB maintains information about I/O devices and data
related to the process. Open file descriptors, I/O buffers, and pending
I/O requests are all included. Storing this information enables the
operating system to manage I/O operations and efficiently handle
input/output requests.
Process ID (PID)
Process State
Program Counter(PC)
CPU Registers
Priority
Accounting Information
The Process Control Block is a fundamental data structure for the process
management capability of the operating system. It enables the operating
system to switch between processes, allocate resources, manage
interruptions, and maintain the general stability and performance of the
system. The PCB allows the operating system to retain control over process
execution and guarantee optimal resource utilization inside the system by
storing and maintaining critical process-related information.