wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

PROCESS STATES OF OPERATING SYSTEM

profile
Krish Kakadiya
Jul 12, 2023
0 Likes
0 Discussions
60 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

Race Condition in Operating Theatre

Blog banner

Memory Management

Blog banner

Data Analytics in Data Science

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

How to Encrypt and Decrypt Using GNU PGP

Blog banner

SECURITY TOOLS

Blog banner

Instagram

Blog banner

What are NFT s?

Blog banner

Apache Kafka

Blog banner

CYBERPEACEKEEPING: NEW WAYS TO PREVENT AND MANAGE CYBERATTACKS

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

operating system

Blog banner

Women’s Mental Health (After Marriage)

Blog banner

DISK SCHEDULING

Blog banner

social media issue

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Bulk E-mail software

Blog banner

Segmentation and paging concept

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Financial Stress and Mental Health

Blog banner

Lifestyle of a photographer

Blog banner

Having passion in life

Blog banner

Spotify

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Data Visualization

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

From Model Mistakes to Metrics

Blog banner

Session Hijacking

Blog banner

Veg Mix Pickle

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

Information Technology In E- Commerce

Blog banner

What if COVID does not exist!

Blog banner

Be you

Blog banner

How Preschool Annual Day Shapes Confidence, Emotions, and Growth

Blog banner

geographic information system (GIS)

Blog banner

"Audit" In Data Science

Blog banner

Deadlock

Blog banner

KASHMIR TRIPS

Blog banner

Safe Learning Spaces: Why Preschool Environment Matters More Than Ever Today

Blog banner

Memory Management of Operating System(OS)

Blog banner

Article on Zoho Corporation

Blog banner

IT RISK

Blog banner