wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

PROCESS STATES OF OPERATING SYSTEM

profile
Krish Kakadiya
Jul 12, 2023
0 Likes
0 Discussions
61 Reads

In an operating system, process states play a crucial role in managing the execution of programs and ensuring efficient utilization of system resources. Process states represent the different stages that a process goes through during its lifecycle. Understanding process states is essential for system administrators, developers, and users to comprehend the behavior and progress of running programs. Let's delve into the commonly recognized process states in an operating system.

 

1. New: When a process is created, it enters the "new" state. At this stage, the necessary resources are allocated, and initial setup tasks are performed. The process is ready to be loaded into memory and scheduled for execution.

 

2. Ready: In the "ready" state, the process is prepared to execute but awaits its turn to be assigned to a processor. It is in a queue along with other processes waiting for CPU time. The operating system's scheduler determines which process gets the CPU next based on scheduling algorithms.

 

3. Running: When a process is assigned to a CPU, it transitions into the "running" state. The CPU executes the process's instructions, and the process utilizes system resources to perform its tasks. Only one process can be in the running state on a single CPU core at any given time.

 

4. Blocked: Sometimes, a process may require external resources such as input/output operations or data from secondary storage. In such cases, the process enters a "blocked" or "waiting" state until the required resource becomes available. While waiting, the process does not consume CPU time and remains in this state until the resource becomes accessible.

 

5. Terminated: When a process completes its execution or is explicitly terminated, it enters the "terminated" state. At this stage, the process releases any acquired resources, and its information is removed from the system's process table. The process no longer exists in the system.

 

 


Comments ()


Sign in

Read Next

Why Soft Skills Matter as Much as Grades?

Blog banner

Steganography

Blog banner

USPS mail

Blog banner

What is the point of living if we can die at any moment of our lives ?

Blog banner

What is Anxiety? How to manage Anxiety?

Blog banner

Deadlock

Blog banner

Lake Manatee State Park: A Peaceful Nature Escape Near Arcadia

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

The Golden Temple , Amritsar

Blog banner

Deadlock and Starvation

Blog banner

Memory Management

Blog banner

Deadlock

Blog banner

Why Peace River Is Florida’s Most Underrated Outdoor Adventure Destination?

Blog banner

URL vs Domain

Blog banner

EFT

Blog banner

Models of Information Security.

Blog banner

Guidelines for a Low sodium Diet.

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

Instagram

Blog banner

Friendship

Blog banner

THREADS (assignment 1)

Blog banner

Explain Multiprocessors

Blog banner

Article on Fresh Book

Blog banner

Security in Cloud Computing

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

Short-Form Video Marketing: Why It's Dominating the Internet

Blog banner

Policies for Service Transition

Blog banner

History of ITIL

Blog banner

Understanding - Proof of Work!

Blog banner

Process states

Blog banner

Reconnaissance

Blog banner

10 Reasons to date your best friend

Blog banner

Zero-Day Attack

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

Telegram and it's features

Blog banner

Security issues

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

Importance of business process documentation

Blog banner

Meshoo

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner

Apache Kafka

Blog banner