# Defined Types

### AGProcessState

See Also:

> AGProcessState

>     typedef enum _AGProcessState {
>         AGProcessStateUnknown,
>         AGProcessStateRunnable,
>         AGProcessStateUninterruptible,
>         AGProcessStateSleeping,
>         AGProcessStateIdle,
>         AGProcessStateSuspended,
>         AGProcessStateZombie,
>         AGProcessStateExited
>     } AGProcessState;

##### Constants

> `AGProcessStateUnknown`
>   The state couldn't be determined.
> `AGProcessStateRunnable`
>   The process is runnable.
> `AGProcessStateUninterruptible`
>   The process is in disk or other uninterruptible wait.
> `AGProcessStateSleeping`
>   The process has been sleeping for 20 seconds or less.
> `AGProcessStateIdle`
>   The process has been sleeping for more than 20 seconds.
> `AGProcessStateSuspended`
>   The process is suspended.
> `AGProcessStateZombie`
>   The process has exited but the parent has not yet waited for it.
> `AGProcessStateExited`
>   The process has exited.

##### Discussion

Possible return values for -[AGProcess state].

(Last Updated June 05, 2005)