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

Mumbai local ......

Blog banner

Getting into anime My anime suggestions

Blog banner

Memory Management

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Data Science in Mental Health Prediction

Blog banner

Virtual Machine

Blog banner

Buffer overflow

Blog banner

Child labour

Blog banner

Assignment 2

Blog banner

The Role of Cyber Forensics in Criminology

Blog banner

Whatsapp Messenger

Blog banner

10 Interesting facts you should know!!!

Blog banner

Memory management and virtual memory

Blog banner

FILE SHARING

Blog banner

Deadlock

Blog banner

Chicken Dum Biryani

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Data Storytelling: Turning Analysis into Business Action

Blog banner

Ethical Hacking

Blog banner

Malware

Blog banner

Bots and Cyber Security

Blog banner

Functions Of Operating Systems

Blog banner

MY FIRST BLOG?

Blog banner

INTERRUPTS

Blog banner

Topic: Sessions in Operating system

Blog banner

Article on different management system

Blog banner

Social Media.

Blog banner

Security Issues

Blog banner

Super Garlicky Tomato Soup with Smashed White Beans

Blog banner

Disk scheduling

Blog banner

Multiple-Processor Scheduling in Operating System

Blog banner

Password Generator - Lisp

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Health is Wealth

Blog banner

A small world of Sockets

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

Virtual memory

Blog banner

What is E-commerce

Blog banner

IT service level agreement

Blog banner

File Organization and Access

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Big Data Architecture

Blog banner