The state of the process. See https://psutil.readthedocs.io/en/stable/#process-status-constants.
| Enums | |
|---|---|
STATE_UNSPECIFIED |
Undetermined state. |
RUNNING |
Process is running or runnable. |
SLEEPING |
Process is waiting for an event. |
DISK_SLEEP |
Process is in uninterruptible sleep, typically I/O. |
STOPPED |
Process is stopped. |
TRACING_STOP |
Process is stopped by debugger. |
ZOMBIE |
Process is terminated but not reaped by parent. |
DEAD |
Process is terminated. |
WAKE_KILL |
Process is woken to be killed. |
WAKING |
Process is waking from sleep. |
PARKED |
Linux specific: process is parked. |
IDLE |
Linux, macOS, and FreeBSD specific: process is idle. |
LOCKED |
FreeBSD specific: process is locked. |
WAITING |
FreeBSD specific: process is waiting. |
SUSPENDED |
NetBSD specific: process is suspended. |