According to What does the “interruptible sleep” state indicate? there is a state called "T".
I tried to run a python script with strace
but /proc/pid/stat
still showed the the process was in S
, waiting on do_wait
(cat /proc/6145/wchan -> do_wait
)
def f():
import pdb
pdb.set_trace()
print(1)
f()
stat
of the program being traced (python script), still underS
. NotT
. – CppLearner Aug 12 '19 at 23:43