Why does unix need to use a state to represent a process

Assignment Help Operating System
Reference no: EM13853349

The following table summarizes the possible process states in UNIX operating system. In other words, a UNIX process at any given point of time has one of these nine states.

User Running

Executing in user mode.

Kernel Running

Executing in kernel mode.

Ready to Run, in memory

Ready to run as soon as the kernel schedules it.

A sleep in memory

Unable to execute until an event occurs; process is in main memory (a blocked state).

Read to Run Swapped

Process is ready to run, but the swapper must swap the process into main memory before the kernel can schedule it to execute.

Sleeping, Swapped

The process is awaiting an event and has been swapped to secondary storage (a blocked state).

Preempted

Process is returning from kernel to user mode, but the kernel preempts it and does a process switch to schedule another process.

Created

Process is newly created and not yet ready to run.

Zombie

Process no longer exists, but it leaves a record for its parent process to collect.

The Zombie state denotes that a process was terminated.

Why does UNIX need to use a state to represent a process that no longer exists?

(Interpretation:

How is the Zombie state used?

Is the Zombie state really useful?

Please give an example to show how the Zombie state may be significant or useful.)

Reference no: EM13853349

Questions Cloud

Identify the most serious ids in the world : At the end of this Module you should be able to articulate the following: Identify the most serious IDs in the world. Describe the trend and distribution of these diseases globally. Apply the concepts of social determinants of health to explain the p..
Compounded continuously is desired on an investment : An interest rate of 10% compounded continuously is desired on an investment of $15,000. How many years will be required to recover the capital with the desired interest if $2,030 is received each year? (Please show formula used and work)
Explain is autism caused by vaccination : My professor wants me to answer the questions based on the ted talk and take everything important from the video and answer the question completely.
What was the percentage change in per capita real GDP : In 2016, a nation's population was 10 million, its real GDP was $1.21 billion, and its GDP deflator had a value of 121. By 2017, its population had increased to 12 million, its real GDP had risen to $1.5 billion, and its GDP deflator had a value of 1..
Why does unix need to use a state to represent a process : Why does UNIX need to use a state to represent a process that no longer exists? How is the Zombie state used? Is the Zombie state really useful?
Compute the price elasticity of demand for cars : Between 2011 and 2012, the quantity of cars produced and sold decreased by 20%. During the same period, the price of cars increased by 5% and the cost of gasoline increased by 20%. We know that the cross elasticity of demand of gasoline is -0.3. Comp..
Write a formal business proposal for an entirely new annual : Research an annual report of a company of your choice that deals with a subject you are interested in learning more about. Pretend that you are hired to be in charge of next year's annual report publication. Use your creativity to decide on a new the..
Present-value equivalent-geometrically increasing series : Find the present-value equivalent to the following geometrically increasing series of payments.
Find the equal annual payment series : Find the equal annual payment series that would be equivalent to the following increasing series of payments if the interest rate is 12%.

Reviews

Write a Review

Operating System Questions & Answers

  Implementation of algorithms for process management

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst.

  Develop a user mode command interpreter

Develop a user mode command interpreter which support list-short.

  Memory allocation in operating system

Analysis and implementation of algorithms for memory allocation in operating system, Explain First- t and best- t methods are used in memory allocation in operating systems.

  Stand alone child process

Forking the child process

  Write a multi-threaded program

Write a multi-threaded program to solve producer and consumer problem

  Marginal and average cost curves

n a competitive market place (pure competition) is it possible to continually sell your product at a price above the average cost of production.

  Simulating operating systems scheduling

Simulate the long-term scheduler, the short-term scheduler and the I/O scheduler of the computer using the First-Come-First-Serve algorithm.

  Issues with trusted platform module

Research paper discussing the issues with Trusted Platform Module (TPM)

  Threads

Explain a complication that concurrent processing adds to an operating system.

  Design and programming

Use the semaphore methods to control the concurrency of the solution

  Virtual machines

Virtual machines supported by a host operating system

  Discuss an application that benefits barrier synchronization

Discuss an application that would benefit from the use of barrier synchronization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd