When the CPU executes a process, it will be in a RUNNING state. When the process is not waiting for any resource and ready to be executed by the CPU, it will be in the RUNNABLE state.
Sleeping
The Sleeping state indicates the process is currently waiting on certain resources (like waiting on I/O, waiting on locks, application code making the process to sleep, etc.). There are two types of Sleeping processes:

  • INTERRUPTABLE_SLEEP
  • UNINTERRUPTABLE_SLEEP

How to Kill the Sleeping Process?

  • STOPPED
  • ZOMBIE

#linux #process states #unix/linux

What Are Unix/Linux Process States?
1.35 GEEK