Processs management
-> A process is a program in execution. for eg. when we write a program in C or C++ and compile it, the compiler creates binary code.The original code and binary code are both programs. when we actually run the binary code , it becomes a process.
-> A process in an 'active' entity, as opposed to a program, which is considered to be a 'passive' entity.
States of Process
A process is in one of the following states:-
1. New- newly created process (or) being-created process.
2. Ready- After creation process moves to ready state, i.e. the process is ready for execution.
3. Run- currently running process in CPU (only one process at a time can be under execution in a single processor).
4. Wait(or Block)- when a process requests I/O access.
5. Complete (or Terminated)- The process completed its execution.
6. Suspended Ready- when the ready queue becomes full , some processes are moved to suspended Ready state.
7. Suspended- Block- when waiting queue becomes full.
-> A process is a program in execution. for eg. when we write a program in C or C++ and compile it, the compiler creates binary code.The original code and binary code are both programs. when we actually run the binary code , it becomes a process.
-> A process in an 'active' entity, as opposed to a program, which is considered to be a 'passive' entity.
States of Process
A process is in one of the following states:-
1. New- newly created process (or) being-created process.
2. Ready- After creation process moves to ready state, i.e. the process is ready for execution.
3. Run- currently running process in CPU (only one process at a time can be under execution in a single processor).
4. Wait(or Block)- when a process requests I/O access.
5. Complete (or Terminated)- The process completed its execution.
6. Suspended Ready- when the ready queue becomes full , some processes are moved to suspended Ready state.
7. Suspended- Block- when waiting queue becomes full.