Process Management & Life-cycle

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/4

flashcard set

Earn XP

Description and Tags

Last updated 10:18 AM on 3/25/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

5 Terms

1
New cards

What are the 5 main states in the Linux process life-cycle?

The Linux process life-cycle consists of five main states: 1. New: The state when a process is being created and initialized. 2. Ready: This state indicates that the process is prepared to execute but is currently waiting for CPU time. 3. Running: At this stage, the process is actively executing its instructions on the CPU. 4. Waiting: Here, the process is unable to proceed until a specific event occurs or I/O operations are completed, rendering it blocked. 5. Terminated: Finally, once a process has completed its execution, it enters this state, signifying that it has finished and is no longer active.

2
New cards

Why does a process transition from Running to Ready?

Usually due to an interrupt, such as a time-slice expiration (preemption) or a higher-priority process becoming ready.This transition allows the CPU to allocate resources efficiently by giving time to other processes or responding to higher priority tasks.

3
New cards

Why does a process transition from Running to Waiting?

It occurs when the process requests something it must wait for, such as an I/O request or a synchronization signal (event wait).This transition allows the process to pause its execution until the requested resource becomes available, ensuring efficient CPU utilization.

4
New cards

What is a Process Control Block (PCB)?

A data structure in the OS kernel containing all information about a process (PID, state, program counter, CPU registers, memory limits, open files).

5
New cards

What happens to the code following a successful execlp() call?

It is never executed. execlp() replaces the entire process memory image with a new program; if it succeeds, the original code is gone.

Explore top notes

note
Chapter 5 - Business Objectives
Updated 1264d ago
0.0(0)
note
Russia (1917-1933)
Updated 1414d ago
0.0(0)
note
Nutrition
Updated 1211d ago
0.0(0)
note
HAP 355 Midterm
Updated 688d ago
0.0(0)
note
Chapter 5 - Business Objectives
Updated 1264d ago
0.0(0)
note
Russia (1917-1933)
Updated 1414d ago
0.0(0)
note
Nutrition
Updated 1211d ago
0.0(0)
note
HAP 355 Midterm
Updated 688d ago
0.0(0)

Explore top flashcards

flashcards
lecture 3 pelvic limb part 1
110
Updated 50d ago
0.0(0)
flashcards
Omurgasız lab
74
Updated 101d ago
0.0(0)
flashcards
BIO EXAM 3 REAL ONE
99
Updated 349d ago
0.0(0)
flashcards
Cell Engery
84
Updated 1107d ago
0.0(0)
flashcards
Identify the tooth
21
Updated 488d ago
0.0(0)
flashcards
WIP 101
20
Updated 1169d ago
0.0(0)
flashcards
Unit 6 Vocabulary
45
Updated 1128d ago
0.0(0)
flashcards
lecture 3 pelvic limb part 1
110
Updated 50d ago
0.0(0)
flashcards
Omurgasız lab
74
Updated 101d ago
0.0(0)
flashcards
BIO EXAM 3 REAL ONE
99
Updated 349d ago
0.0(0)
flashcards
Cell Engery
84
Updated 1107d ago
0.0(0)
flashcards
Identify the tooth
21
Updated 488d ago
0.0(0)
flashcards
WIP 101
20
Updated 1169d ago
0.0(0)
flashcards
Unit 6 Vocabulary
45
Updated 1128d ago
0.0(0)