wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

PROCESS STATES OF OPERATING SYSTEM

profile
Krish Kakadiya
Jul 12, 2023
0 Likes
0 Discussions
56 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 Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

USPS mail

Blog banner

Modern operating systems (OS)

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

Virtual memory in windows

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Threat management

Blog banner

Virtual Memory

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

Mumbai local ......

Blog banner

Reconnaissance

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Cache memory

Blog banner

Interrupts

Blog banner

Virtual memory

Blog banner

The Importance of Data Quality Management in Data Science

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Real Time Scheduling

Blog banner

Process in OS

Blog banner

From Model Mistakes to Metrics

Blog banner

How to insert contacts in zoho crm using php

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

Mumbai

Blog banner

Memory management

Blog banner

The Laws of Karma

Blog banner

Disk scheduling

Blog banner

Starvation

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

Memory Partitioning

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner

LINUX

Blog banner

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

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner

Deadlock and Starvation

Blog banner

Deadlock and Starvation

Blog banner

How return on investment is defined in IT services

Blog banner

Cyber Security Control

Blog banner

Facebook Shut Down an AI Program!!! Facebook AI bots became Terminators???

Blog banner

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

Blog banner

Health and fitness

Blog banner

Hacking Mobile Platforms

Blog banner