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.
The directory where the domains are to be started. If specified, the path must be accessible in the filesystem. If not specified, the domain in the default install_dir/domains directory is started.
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 domain1 running sampleDomain not running Command list-domains executed successfully
Where: domain1 and sampleDomain are the domains located in the default install_dir/domains directory.