A Linux task moves between execution states as it runs, waits, stops, and exits. The STAT field from ps captures one moment, so repeated observations are more useful than a single letter when diagnosing behavior.
$ ps -o pid,ppid,stat,wchan:24,cmd