ProcessOnOnly Agent
Starts and monitors a process specified by the user.
Entry Points
- Online---Starts the process with optional arguments.
- Monitor---Checks to see if the process is alive by scanning the process table for the name of the executable pathname and argument list.
State Definition
- ONLINE---Process is running.
- FAULTED---Process is not running.
- UNKNOWN---Invalid configuration or agent unable to determine the state of the process.
Type Definition
type ProcessOnOnly (
static str ArgList[] = { IgnoreArgs, PathName, Arguments }
static str Operations = OnOnly
boolean IgnoreArgs = 0
str PathName
str Arguments
)
|