Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo List Commands

The remote list-commands command enables you to list the deployed asadmin commands. You can specify that only remote commands or only local commands are listed. By default, this command displays a list of local commands followed by a list of remote commands.

  1. Ensure that the server is running.

    Remote commands require a running server.

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


Example 2–13 Listing Commands

The following example command lists only local commands:


asadmin list-commands --localonly

Information similar to the following is displayed:


create-domain
delete-domain
list-commands
list-domains
login
monitor
start-database
start-domain
stop-domain
stop-database
version
Command list-commands executed successfully.

See Also

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