Operating System: Chapter 2

Process State

Process is an instance of a computer program that is being executed by one or many threads

Process State

    • New: A new process is created
    • Ready: The process is ready to run
    • Waiting: The process is waiting for some events or instructions, or it is waiting for some other processes to get executed
    • Running: CPU is working on the process
    • Terminated: The process is complete & executed