cpwd_admin start

Description

Starts a process as monitored by the WatchDog.

Syntax on a Management Server

cpwd_admin start -name <Application Name> -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:

  • FWM

  • FWD

  • CPD

  • CPM

-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-R81/fw1/bin/fw"

  • For CPD: "$CPDIR/bin/cpd"

  • For CPM: "/opt/CPsuite-R81/fw1/scripts/cpm.sh"

  • For SICTUNNEL: "/opt/CPshrd-R81/bin/cptnl"

-command "<Command Syntax>"

The command and its arguments to run.

Must enclose in double quotes.

Examples:

-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 "retry_limit" configuration parameter.

See cpwd_admin config.

  • <Limit> - Tries to restart the process the specified number of times

  • u - Tries to restart the process unlimited number of times

Example

For the list of process and the applicable syntax, see sk97638.