PreviousNext

host stop

Stops all DCE processes on the specified host. The syntax is:

host stop [host_name] [-force]

Options

-force
Optionally specifies that any servers that fail to stop normally should be stopped using a server stop -method hard command.

Description
The host stop operation stops running DCE processes on the specified host. This command depends on dced being on the specified host, that is, it may not be used to stop DCE on systems that use versions prior to Version 1.1. The host_name argument is the fully-qualified or cell-relative name of the host to operate on, as in:

/.:/ hosts/hostname

/hosts /hostname

Processes are stopped as follows:

· All servers listed in the server execution data are stopped. Servers implementing DCE core services are stopped last, in an appropriate order.

· If any servers fail to stop, and the -force option was specified, those servers are stopped by a command of server stop -method hard.

Privileges Required
You must have s (stop) permission on the config/srvrexec object for each server to be stopped.

Examples
The following example stops host hydra:

dcecp> host stop hosts/hydra
dcecp>