AGProcess.h




Classes

AGProcess
A class for reporting Unix process statistics.

Categories

AGProcess(MachTaskEvents)
Extends AGProcess to get information about Mach task events.
AGProcess(Signals)
Extends AGProcess to send UNIX signals.


Typedefs


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].

Enumerations


_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].


AGProcessValue


enum { 
    AGProcessValueUnknown = 0xffffffff 
}; 
Constants
AGProcessValueUnknown
Indicates that the value of a statistic couldn't be determined.

(Last Updated June 05, 2005)