stop-all-domains

Stops the Domain Administration Server(DAS) of all current running domains on the server’s installation.

Synopsis

asadmin stop-all-domains [--help]
[--force={true|false}]
[--kill={true|false}]

Description

The stop-all-domains subcommand can be used to stop ALL current running domains on the server’s installation.

Options

--force

Specifies whether each domain is forcibly stopped immediately.

The default value is true.

--kill

Specifies whether the domain is killed by using functionality of the operating system to terminate the domain process.

The default value is false.

Examples

Example 1 Stopping Domains

This example stops all currently running domains on the server’s installation.

asadmin stop-all-domains

Stopping domain domain1
Stopped domain
Stopping domain production
Stopped domain
Stopping domain test
Stopped domain
Stopping domain testy
Stopped domain
Command stop-all-domains executed successfully.

Exit Status

0

subcommand executed successfully

1

error in executing the subcommand

See Also