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

MODERN OPERATING SYSTEM

Blog banner

Short note on expert system

Blog banner

Deadlock

Blog banner

All you need to know about “Off-page SEO”

Blog banner

Data Visualization – Importance and tools (Tableau, Power BI)

Blog banner

Process, process creation and process termination

Blog banner

Domain Name System

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

IT Service Continuity Management

Blog banner

"Life as a Part-time Student"

Blog banner

Developments in Modern Operating Systems

Blog banner

evolution of operating system - Disha Parekh

Blog banner

Precision-Recall in Data Science

Blog banner

Procedure For Corporate High-Tech Investigations

Blog banner

Benefits of yoga and meditation

Blog banner

VIRUS

Blog banner

SPEM

Blog banner

A book review

Blog banner

Top 5 Tech Innovations of 2018

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Memory management

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

Deadlocks in Operating Systems

Blog banner

PERT Overview

Blog banner

OPERATING SYSTEM

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

Article on different management system

Blog banner

10 Interesting Facts about Death Note

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

Understanding - Proof of Work!

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Paginng In OS

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

A Deep Dive

Blog banner

APACHE KAFKA

Blog banner

DIGITAL TECHNOLOGY

Blog banner

Basic Security For SOAP Services

Blog banner

Child labour

Blog banner

Types of Viruses

Blog banner