The asadmin(1M) help page explains the basics of how the asadmin command works. To display the help page for the asadmin utility, type asadmin without a subcommand.
You can display a help page for an asadmin command by typing the command name followed by the --help option. For example:
asadmin create-jdbc-resource --help |
To display the help page for a remote command, Enterprise Server must be running.
Use the asadmin list-commands command to display the available commands. A collection of the asadmin help pages is available in HTML and PDF format in the Sun GlassFish Enterprise Server v3 Prelude Reference Manual.