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

Odoo

Blog banner

Operating Systems Overview

Blog banner

File management

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

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

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Not anti-social, but pro-solitude

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

Question

Blog banner

Kafka - A Framework

Blog banner

Bots and Cyber Security

Blog banner

Rain bow

Blog banner

SQL Injection practice on DVWA

Blog banner

Mesh Topology

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

Why Friendship at Work is Important

Blog banner

Memory Management in Operating System

Blog banner

Recipe of Paneer Butter Masala

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Sage business cloud accounting

Blog banner

Digital Marketing - The new way to reach end consumer

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

DATA SCIENCE IN BUSINESS AND MARKETING

Blog banner

Article on Zoho Corporation

Blog banner

Incident management in ITSM

Blog banner

INTRANET

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

The Laws of Karma

Blog banner

Daycare Centres Help Children Transition into Structured Learning

Blog banner

IP Address

Blog banner

Operating system evolution

Blog banner

Diwali

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

Clarizen

Blog banner

'Positivity in life'

Blog banner

File sharing

Blog banner

Importance of business process documentation

Blog banner

Memory Management in an Operating System

Blog banner

Who decides your overthinking, anyway?

Blog banner

Deadlock and Starvation

Blog banner

Boxing

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner