AGProcess.h


Constants


AGProcessValueUnknown


Indicates that the value of a statistic couldn't be determined.

Enumerations


AGProcessState


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

Possible return values for -[AGProcess state].

Constants

NameDescription
AGProcessStateUnknownThe state couldn't be determined.
AGProcessStateRunnableThe process is runnable.
AGProcessStateUninterruptibleThe process is in disk or other uninterruptible wait.
AGProcessStateSleepingThe process has been sleeping for 20 seconds or less.
AGProcessStateIdleThe process has been sleeping for more than 20 seconds.
AGProcessStateSuspendedThe process is suspended.
AGProcessStateZombieThe process has exited but the parent has not yet waited for it.
AGProcessStateExitedThe process has exited.

(Last Updated 9/12/2003)