Enum Process.State (0.3.0)

public enum Process.State extends Enum<Process.State> implements ProtocolMessageEnum

The state of the process. See https://psutil.readthedocs.io/en/stable/#process-status-constants.

Protobuf enum google.backstory.Process.State

Implements

ProtocolMessageEnum

Static Fields

Name Description
DEAD

Process is terminated.

DEAD = 7;

DEAD_VALUE

Process is terminated.

DEAD = 7;

DISK_SLEEP

Process is in uninterruptible sleep, typically I/O.

DISK_SLEEP = 3;

DISK_SLEEP_VALUE

Process is in uninterruptible sleep, typically I/O.

DISK_SLEEP = 3;

IDLE

Linux, macOS, and FreeBSD specific: process is idle.

IDLE = 11;

IDLE_VALUE

Linux, macOS, and FreeBSD specific: process is idle.

IDLE = 11;

LOCKED

FreeBSD specific: process is locked.

LOCKED = 12;

LOCKED_VALUE

FreeBSD specific: process is locked.

LOCKED = 12;

PARKED

Linux specific: process is parked.

PARKED = 10;

PARKED_VALUE

Linux specific: process is parked.

PARKED = 10;

RUNNING

Process is running or runnable.

RUNNING = 1;

RUNNING_VALUE

Process is running or runnable.

RUNNING = 1;

SLEEPING

Process is waiting for an event.

SLEEPING = 2;

SLEEPING_VALUE

Process is waiting for an event.

SLEEPING = 2;

STATE_UNSPECIFIED

Undetermined state.

STATE_UNSPECIFIED = 0;

STATE_UNSPECIFIED_VALUE

Undetermined state.

STATE_UNSPECIFIED = 0;

STOPPED

Process is stopped.

STOPPED = 4;

STOPPED_VALUE

Process is stopped.

STOPPED = 4;

SUSPENDED

NetBSD specific: process is suspended.

SUSPENDED = 14;

SUSPENDED_VALUE

NetBSD specific: process is suspended.

SUSPENDED = 14;

TRACING_STOP

Process is stopped by debugger.

TRACING_STOP = 5;

TRACING_STOP_VALUE

Process is stopped by debugger.

TRACING_STOP = 5;

UNRECOGNIZED
WAITING

FreeBSD specific: process is waiting.

WAITING = 13;

WAITING_VALUE

FreeBSD specific: process is waiting.

WAITING = 13;

WAKE_KILL

Process is woken to be killed.

WAKE_KILL = 8;

WAKE_KILL_VALUE

Process is woken to be killed.

WAKE_KILL = 8;

WAKING

Process is waking from sleep.

WAKING = 9;

WAKING_VALUE

Process is waking from sleep.

WAKING = 9;

ZOMBIE

Process is terminated but not reaped by parent.

ZOMBIE = 6;

ZOMBIE_VALUE

Process is terminated but not reaped by parent.

ZOMBIE = 6;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()