Summary: Destroys the specified space and removes all references to it, including persistent ones.
Syntax
Description Destroys the specified space and removes all references to it, including persistent ones. The space destroy command is relevant only for spaces in a started state. Specifying a container URL prints a numbered list of all the spaces in the container. You can then choose which space to destroy, or all (destroys all spaces). Specifying a URL of a clustered space prints a list of all spaces in the cluster, and you can choose a space to destroy by its number, or all (destroys all spaces).
 |
Using -c (or -cluster) with a URL of a clustered space destroys all cluster members. |
Options
Option |
Description |
Value Format |
url |
The URL of the space you want to destroy, or of the container – destroys the spaces under that container. |
Container URL: jini://localhost/my_container rmi://localhost:10098/my_container Space URL: jini://localhost/my_container/mySpace rmi://localhost:10098/my_container |
cluster / c |
Destroys all cluster members. |
|
help / h |
Prints help – the command's usage and options. |
|
user |
User name for login to secured space – optional parameter |
|
password |
Password for login to secured space – optional parameter |
|
Example The following destroys a space named sp2:
The following destroys all cluster members belonging to the same cluster as clusterTest:
|