State different Process States in OS.
Processes in the operating system can be in any of the following states:
- New: the process is being created.
- Ready: The process is waiting to be assigned to a processor.
- Running: Commands are being executed.
- Waiting: Process is waiting for some event to occur.
- Terminated: The process has completed execution.
