Process States
0%

Processes · Lesson 9

Process States

Learn how to interpret common Linux process-state codes in `ps` snapshots.

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