asadmin [asadmin-options] stop-instance [--help]
[--force={false|true}] [--kill={false|true}]
instance-name
|
stop-instance DRAFT |
| Previous | Next | Contents |
stops a running \{product---name} instance
Synopsis
asadmin [asadmin-options] stop-instance [--help]
[--force={false|true}] [--kill={false|true}]
instance-name
Description
The stop-instance subcommand stops a running \{product---name}
instance.
The subcommand can stop any \{product---name} instance, regardless of
how the instance was created. For example, this subcommand can stop an
instance that was created by using the
create-local-instance(1)
subcommand.
This command is supported in remote mode only.
Options
Options for the asadmin utility. For information about these
options, see the asadmin(1M) help page.
--help-?Displays the help text for the subcommand.
--forceSpecifies whether the instance is forcibly stopped immediately.
Possible values are as follows:
trueThe instance is forcibly stopped immediately (default).
falseThe subcommand waits until all threads that are associated with the instance are exited before stopping the instance.
--killSpecifies whether the instance is killed by using functionality of the
operating system to terminate the instance process.
Possible values are as follows:
falseThe instance is not killed. The subcommand uses functionality of the Java platform to terminate the instance process (default).
trueThe instance is killed. The subcommand uses functionality of the operating system to terminate the instance process.
Operands
This is the name of the \{product---name} instance to stop.
Examples
This example stops the \{product---name} instance yml-i-sj01.
Example 1 Stopping a \{product---name} Instance
asadmin> stop-instance yml-i-sj01
The instance, yml-i-sj01, was stopped.
Command stop-instance executed successfully.
Exit Status
command executed successfully
error in executing the command
See Also
| Previous | Next | Contents |
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
DRAFT