cpwd_admin start
Description
Starts a process as monitored by the WatchDog.
Syntax
cpwd_admin start -name <Application Name> [-ctx <VSID>] -path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>] [-slp_timeout <Timeout>] [-retry_limit {<Limit> | u}]
|
Parameters
Parameter
|
Description
|
-name < Application Name>
|
Name under which the cpwd_admin list command shows the monitored process in the leftmost column APP .
Examples:
|
-ctx < VSID>
|
On VSX Gateway, specifies the context of the applicable Virtual System.
|
-path "< Full Path to Executable>"
|
The full path (with or without Check Point environment variables) to the executable including the executable name. Must enclose in double-quotes.
Examples:
- For FWM: "
$FWDIR/bin/fwm " - For FWD: "
/opt/CPsuite-R80.20/fw1/bin/fw " - For CPD: "
$CPDIR/bin/cpd " - For CPM: "
/opt/CPsuite-R80.20/fw1/scripts/cpm.sh"
- For SICTUNNEL: "
/opt/CPshrd-R80.20/bin/cptnl "
|
-command "< Command Syntax>"
|
The command and its arguments to run. Must enclose in double-quotes.
Examples:
- For FWM: "
fwm " - For FWM on Multi-Domain Server: "
fwm mds " - For FWD: "
fwd " - For CPD: "
cpd " - For CPM: "
/opt/CPsuite-R80.20/fw1/scripts/cpm.sh -s"
- For SICTUNNEL: "
/opt/CPshrd-R80.20/bin/cptnl -c "/opt/CPuepm-R80.20/engine/conf/cptnl_srv.conf" "
|
-env {inherit | < Env_Var>=< Value>}
|
Configures whether to inherit the environment variables from the shell.
inherit - Inherits all the environment variables (WatchDog supports up to 80 environment variables)< Env_Var>=< Value> - Assigns the specified value to the specified environment variable
|
-slp_timeout < Timeout>
|
Configures the specified value of the sleep_timeout configuration parameter.
See cpwd_admin config .
|
-retry_limit {< Limit> | u}
|
Configures the value of the no_limit configuration parameter.
See cpwd_admin config .
< Limit> - Tries to restart the process the specified number of timesu - Tries to restart the process unlimited number of times
|
Example
For the list of process and the applicable syntax, see sk97638.