|
|
|
NAME
| list-domains - lists the domains in the given domains directory |
SYNOPSIS
| list-domains [ --domaindir install_dir/domains ] [ --terse=false ] [ --echo=false ] |
|
list-domains lists the domains in the given domains directory. This command is supported in local mode only.
|
|
- --domaindir
- directory where the domains are located. If specified, path must be accessible in the filesystem. If not specified, the domains in the default install_dir/domains directory are listed.
- --terse
- indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script.
- --echo
- setting to true will echo the command line statement on the standard output.
|
| Example 1. Using list-domains
|
|
asadmin> list-domains
List of domains:
domain1 running
samples not running
|
Where: the domain1 and samples are listed and their status printed.
|
|
|
- 0
- command executed successfully
- 1
- error in executing the command
|
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|