ProcessData Struct Reference
Process information.
More...
Data Fields
-
int pid
- Process ID.
-
char tag [PROCESS_LEN_TAG]
- Unique identifier.
-
char state
- Current state.
-
double cpuload
- CPU load caused by this process.
-
char init_command [PROCESS_LEN_COMMAND]
- Shell command to execute before (re)initialization.
-
char command [PROCESS_LEN_COMMAND]
- The path of the executable.
-
char arguments [PROCESS_LEN_ARGUMENTS]
- The command-line arguments.
-
int init_on_restart
- Execute init script on start or restart?
-
int required_state
- Requred state of this process.
-
unsigned int max_subsequent_failures
- Maximal number of subsequent failures.
-
unsigned int cputime
- Last value of utime + stime.
-
char wdir [PROCESS_LEN_WDIR]
- The working directory.
-
char description [PROCESS_LEN_DESCRIPTION]
- A description.
-
time_t start_time
- Time when the process was started.
-
time_t stop_time
- Time when the process was stopped.
-
int restart_policy
- Restart policy.
-
float delay
- Delay after start in seconds.
-
float term_delay
- Specified the minimal number of seconds autoprocd should wait before sending a KILL signal after a TERM signal to end the process.
-
uid_t uid
- User ID.
-
gid_t gid
- Group ID.
-
unsigned int n_starts
- Number of starts in general.
-
unsigned int n_truncations
- Number of automatic stops.
-
unsigned int n_failures
- Number of all failures (crashes + truncations).
-
unsigned int n_subsequent_failures
- Number of failures since last manual restart.
-
int failure_timer
- Number of update intervals within which a restart counts as subsequent.
-
Array * environment
- Array of environment variables.
-
int inputPipe [2]
- Pipe for stdin redirection.
-
int outputPipe [2]
- Pipe for stdout redirection.
Detailed Description
Process information.
The documentation for this struct was generated from the following file:
Generated on Fri Jan 20 10:12:18 2006 by
1.4.2