On the Linux OS, every process or thread runs through a variety of definite states, and by encoding these, we can form the state machine of a process (or thread) on the Linux OS (do refer to Figure 1 in the following section while reading this).
The states that a Linux thread can cycle through are as follows (the ps(1) utility encodes the state ...