Process States





As the program executes, it generally changes state. A state of the process is defined as the current activities of that process. Each process may have one of the following states:-
a.  New: – the process is being created.
b. Running: – instruction is being executed.
c. Waiting: – a process is waiting for some event (e.g. printer during sending signals) or reception of signal between computer and printer.
d. Ready: – the processor is ready to execute that particular process.
e. Terminated: – the process has finished execution.
Running state implies that process is currently run by the CPU. Ready  to run means that it needs cpu attention and time to run, otherwise it is not  blocked in any sense or in other words, process is waiting state implies that process is not running currently and is waiting for some event to occur( such as i/o completion  or reception of signal). The diagram of process state is given below:-

process states

process states and it's transition



Related posts:

  1. Introduction to Processes in operating system   Early computer system allowed any one program to be...
  2. States of Matter States of Matter. Physical states of matter , how many...
  3. Types of operating systems An operating system can also be divided into many types...
  4. Introduction to operating system Operating System: An operating system is a collection of system...
  5. Operating System Structure operating system structure: An operating system might have many structure....