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

memory management

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

Linux VServer Architecture

Blog banner

Cache Memory in Operating Systems

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

Threats To Computer System

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

What are Tenders its various types

Blog banner

INTERNET

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Multicore and Multithreading

Blog banner

The Essential Guide to Dynamic Arrays vs. Linked Lists: Which to Use and When ?

Blog banner

Affiliate Marketing V/S Influencer Marketing

Blog banner

objectives and functions of operating system

Blog banner

Advantage of freedom

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

Why Users Leave Your Website in 5 Seconds (And How UI/UX Fixes It)

Blog banner

Zomato (Income Sources)

Blog banner

SPAM

Blog banner

Why we should do reading

Blog banner

Stephen Hawking : A Remarkable Physicist

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Interrupts in operating system.

Blog banner

THE INPACT OF SOCIAL MEDIA!

Blog banner

Windows Operating System

Blog banner

Blockchain uses and use cases

Blog banner

Understanding E-mail Servers

Blog banner

Scala - a programming tool

Blog banner

Memory management

Blog banner

virtual memory

Blog banner

memory cache

Blog banner

Vulnerability Assessment

Blog banner

Blockchain in IoT Applications

Blog banner

Be you

Blog banner

Service Strategy In ITSM

Blog banner

INTERRUPTS

Blog banner

Memory input output management

Blog banner

Hash password! Is it really secured?

Blog banner

Online Education

Blog banner

What is thread and alse multithreading

Blog banner

A book review

Blog banner