Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List Containers

The remote list-containers command enables you to list application containers.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. List containers by using the list-containers(1) command.

Example 2–14 Listing Containers

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
Container : jpa
Container : web
Container : jruby
Container : security
Command list-containers executed successfully.

See Also

To see the full syntax and options of the command, type asadmin list-containers --help at the command line.