cpwd_admin stop

Description

Stops a WatchDog monitored process.

Important - This change does not survive reboot.

Syntax

cpwd_admin stop -name <Application Name> [-path "<Full Path to Executable>" -command "<Command Syntax>" [-env {inherit | <Env_Var>=<Value>]

Parameters

Parameter

Description

-name <Application Name>

Name under which the cpwd_admin list command shows the monitored process in the leftmost column APP.

Example - SFWD

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

Example for the DropBear:

"dropbear -F -j -k -p 22 -r /pfrm2.0/etc/dropbear_rsa_host_key -b /opt/fw1/conf/sshd_banner.txt"

-command "<Command Syntax>"

The command and its arguments to run.

Must enclose in double-quotes.

Example for the SFWD:

"sfwd"

-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

Example

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