Oracle GlassFish Server 3.0.1 Administration Guide

ProcedureTo List Subcommands

Use the list-commands subcommand in remote mode to list the deployed asadmin subcommands. You can specify that only remote subcommands or only local subcommands are listed. By default, this subcommand displays a list of local subcommands followed by a list of remote subcommands.

  1. Ensure that the server is running.

    Remote subcommands require a running server.

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


Example 2–18 Listing Subcommands

This example lists only local subcommands.


asadmin> list-commands --localonly
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

You can also view the full syntax and options of the subcommand by typing asadmin help list-commands at the command line.