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

What is M-commerce and how it's work

Blog banner

Topic: Sessions in Operating system

Blog banner

Linux -V Server Virtual Machine

Blog banner

38_Exploring The Honeynet Project

Blog banner

What is Virtual Memory

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

Veg Mix Pickle

Blog banner

File management In Operating System

Blog banner

Elegant fashion style

Blog banner

Memory management

Blog banner

How to write a cover letter

Blog banner

Uniprocessor Scheduling

Blog banner

Texting is actually better than talking in person

Blog banner

Importance of business process documentation

Blog banner

MULTITHREADING:ENHANCEING PERFORMANCE AND EFFICIENCY IN COMPUTING

Blog banner

In the world of Technology...

Blog banner

Why Soft Skills Matter as Much as Grades?

Blog banner

A Review on Data Acquisition in Cyber Forensics

Blog banner

"Mahakali cave"

Blog banner

Challenges and risks in service operations

Blog banner

Predicting Student Performance with Data Science

Blog banner

Every body is beautiful

Blog banner

Information of meesho company

Blog banner

Full Disk Encryption

Blog banner

OS ASSIGNMENT

Blog banner

Place to visit in pune

Blog banner

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

Blog banner

Security and E-mail

Blog banner

Navigation With Indian Constellation(NavIC) by ISRO in Geographic Information Systems

Blog banner

RAID - LEVELS OF RAID

Blog banner

Big Data

Blog banner

How to tie a Tie

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

IT security management

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

ADD A SPICE TO YOUR LIFE.

Blog banner

Having passion in life

Blog banner

Steganography

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Time Series Analysis

Blog banner

Objectives and functions of Operating System...

Blog banner