10/29/2023 0 Comments Process state and transition in unixOn the other hand, if the process is in UNINTERRUPTABLE_SLEEP state, then the issuing SIGKILL signal will not terminate immediately. ‘kill -9’) to the process, will terminate the process immediately. If the process is in INTERRUPTABLE_SLEEP state, then issuing SIGKILL signal (i.e. UNINTERRUPTABLE_SLEEP: When a process is in UNINTERRUPTABLE_SLEEP, it will not wake up from the middle of sleep even though new signals are sent to it. INTERRUPTABLE_SLEEP: When a process is in INTERRUPTABLE_SLEEP, it will wake up from the middle of sleep and process new signals sent to it. There are two types of SLEEPING processes: 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,…). When the process is not waiting for any resource and ready to be executed by the CPU, it will be in the RUNNABLE state. When the CPU executes a process, it will be in a RUNNING state. Let’s discuss these states in this article. In Unix/Linux operating systems, processes can be in one of the following states:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |