Operating Systems & Administration
[Day 3] 1. Revision
D
DITISS AdminProcess Control Block (PCB) in Linux
- The is a structure used to create the Process Control Block (PCB).
task_struct- The size of a can range from 4 to 5 KB or more.
task_struct - Knowing about and its role in PCB creation is useful as general knowledge.
task_struct
- The size of a
Alternate Names for PCB:
- PCB: Process Control Block
- Process Descriptor
- (Unix-specific term)
uarea
Viewing Process Information in Linux:
- The command lists information about all processes currently inside RAM.
ps -e
OS Data Structures for Process Management:
-
Job Queue (Process List):
- Contains all the processes currently loaded in memory (RAM).
-
Ready Queue:
- Contains all processes that are ready for execution.
-
Waiting Queues:
- Contains processes that are waiting after being interrupted.
- There are multiple waiting queues for various devices, whereas there is only one job queue and one ready queue.
- Each device (e.g., printer) has its own waiting queue. When a task for a device is completed, the next process from that device's waiting queue is executed.
Read Next
8/26/2026
[Day 3] 2. Redirection
### **Redirection in Linux** In Linux, the three standard streams—**stdin** (standard input), **stdout** (standard output), and **stderr** (stand...
8/26/2026
[Day 3] 3. Pipes
### **Pipes in Linux** Pipes are used for **Inter-Process Communication (IPC)**, allowing data to flow between processes. They have two ends: one f...