streak 0d sign in / up

Processes · Lesson 9 of 11

Process States

0%

0 / 4 checkpoints answered

Virtual Machine Standing by
✓ Setting up Virtual Machine…
✓ Initializing Virtual Machine…
✓ Starting Desktop Services…
✓ Connecting to Interface…

Click inside the terminal, type the command, press Enter.

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