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

Indian Food

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

DBMS and various career options related to it.

Blog banner

Multithreading in Operating System

Blog banner

The Everyday Parenting Dilemma: Safety Vs Independence

Blog banner

Social Media Marketing Trends 2022

Blog banner

Bulk E-mail software

Blog banner

Mumbai Metro 3

Blog banner

Social Engineering Deceptions and Defenses

Blog banner

OS DESIGN CONSIDERATIONS FOR MULTIPROCESSOR

Blog banner

Culture Of Ladakh

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

Consumer to consumer business mode

Blog banner

Heart Fulness Meditation

Blog banner

Service design process in ITSM

Blog banner

MAILFENCE

Blog banner

The Role of Cyber Forensics in Addressing Cyber security Challenges in Smart Cities

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Odoo

Blog banner

Big Data

Blog banner

10 Problems you face if you are an Otaku

Blog banner

Types of Threads

Blog banner

LiquidPlanner

Blog banner

Efficiency of SQL Injection Method in Preventing E-Mail Hacking

Blog banner

Gamer life

Blog banner

How to tie a Tie

Blog banner

MORDERN UNIX SYSTEM

Blog banner

Starvation and Deadlock.

Blog banner

AutoML: The Future of Automated Data Science

Blog banner

Disk cache

Blog banner

Beautiful and stunning natural phenomena worth to see

Blog banner

Processes : Process description and control

Blog banner

12 Principles of Animation

Blog banner

Pandas Matrix Applications

Blog banner

Python as a tool for Data science task & project

Blog banner

To-Do List In LISP

Blog banner

Virtual Machine

Blog banner

Street foods

Blog banner

FILE SHARING

Blog banner

Process State

Blog banner

ASANA- A Management System.

Blog banner

Memory management

Blog banner