The remote list-containers command enables you to list application containers.
Ensure that the server is running.
Remote commands require a running server.
List containers by using the list-containers(1) command.
The following example command lists the containers on localhost:
asadmin list-containers |
Information similar to the following is displayed:
List all known application containers
Container : connectors
properties=(ContractProvider=connectors)
Container : jpa
properties=(ContractProvider=jpa)
Container : web
properties=(ContractProvider=web)
Container : jruby
properties=(ContractProvider=jruby)
Container : security
properties=(ContractProvider=security)
Command list-containers executed successfully.
|
To see the full syntax and options of the command, type asadmin list-containers --help at the command line.