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

IOT- Internet Of Things

Blog banner

Security issues

Blog banner

Cyber Bullying - Neeta Vonkamuti

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

Modern operating system

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Virtual memory

Blog banner

MailChimp

Blog banner

Which is a good bike to buy?

Blog banner

Question

Blog banner

Big Data Architecture

Blog banner

Save Environment

Blog banner

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

Blog banner

TOP 5 GAMING GADGETS (2024)

Blog banner

Memory Management in Operating System

Blog banner

Some facts about Technology

Blog banner

The Joy of Giving: How Festivals Teach Children Empathy and Gratitude

Blog banner

MODERN OPERATING SYSTEM

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

The Impact of Cyber Forensics on Corporate Governance and Compliance

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

Introduction to Virtual Memory - 080

Blog banner

Linker

Blog banner

SQL Injection practice on DVWA

Blog banner

Love is in air.....

Blog banner

Memory management

Blog banner

What is Spyware? and examples of them.

Blog banner

Instagram

Blog banner

Exploring Virtual Machines and Computer Forensic Validation Tools

Blog banner

Memory heirchy

Blog banner

Types of Viruses

Blog banner

Service Operations Principles

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

15 Interesting Facts about India

Blog banner

Data Security and Data Privacy in Data Science

Blog banner

The Sunny Side of Instagram

Blog banner

What is a Malware ?

Blog banner

Starvation

Blog banner

Jira Software

Blog banner

Article on Fresh Book

Blog banner

Race Condition

Blog banner