wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

PROCESS STATES OF OPERATING SYSTEM

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

Wiretapping

Blog banner

'C', 'C++' and 'Java': Head-to-Head

Blog banner

Short note on expert system

Blog banner

The seven-step improvement process

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

The Evolution of Operating Systems

Blog banner

Threat management

Blog banner

Instagram

Blog banner

Importance of self defence for girls

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

The Secure Software Development Life Cycle (SDLC)

Blog banner

Understanding Regression Analysis

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

HubSpot

Blog banner

Delhi city

Blog banner

Boxing

Blog banner

Multithreading in Operating System

Blog banner

How to insert contacts in zoho crm using php

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Blockchain in IoT Applications

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

What is Internet

Blog banner

MPL and how its effects?

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

Why Mumbai Professionals Are Switching Back to Home-Style Tiffin Meals

Blog banner

Student Grade Calculator in LISP

Blog banner

Internet: The Vast Ocean Of Knowledge.

Blog banner

A Heartfelt Act of Kindness

Blog banner

GEOLOGY AND GEO-TECTONIC FRAME WORK OF WESTERN BASTAR CRATON

Blog banner

TRAIN TRAVELING

Blog banner

Diwali

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

Global versus Indian Mental Health Differences

Blog banner

IoT Architecture Based Security

Blog banner

Why is ITSM important in IT organization?

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

Privacy LAWs in IT

Blog banner

Footprinting

Blog banner

Zero Trust Security Model: Revolutionizing Cybersecurity in the Digital Age

Blog banner

Safeguarding Your Data: The Importance of Wireless Encryption

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Man is free by the birth .

Blog banner