Use the list-domains command to list the domain. If the domain directory is not specified, the domain in the default install_dir/domains directory is listed. If there is more that one domain, the domain_name operand must be identified.
This command is supported in local mode only.
The directory where the domains are located. If specified, the path must be accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory are listed.
Indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script. Default is false.
Setting to true will echo the command line statement on to the standard output. Default is false.
asadmin> list-domains List of domains: domain1 running samples not running
Where: the domain1 and samples are the domains located in the default install_dir/domains directory.