type=page status=published title=list-commands next=list-components.html prev=list-clusters.html ~~
Lists available commands
asadmin [asadmin-options] list-commands [--help]
[--localonly={false|true}] [--remoteonly={false|true}]
pattern-list
The list-commands
subcommand lists the asadmin
subcommands.
By default, the list-commands
subcommand displays a list of local
subcommands followed by a list of remote subcommands. You can specify
that only remote subcommands or only local subcommands are listed and
that only subcommands whose names contain a specified text string are
listed.
This subcommand is supported in local mode and remote mode.
- asadmin-options
-
Options for the
asadmin
utility. For information about these options, see theasadmin
(1M) help page. --help
-?
-
Displays the help text for the subcommand.
--localonly
-
If this option is set to true, only local commands are listed. Default is false.
If this option is set to true, the--remoteonly
option must be set to false. Otherwise, an error occurs. --remoteonly
-
If this option is set to true, only remote commands are listed. Default is false.
If this option is set to true, the--localonly
option must be set to false. Otherwise, an error occurs.
- pattern-list
-
A space-separated list of text strings on which to filter the list of subcommands. Only the subcommands that contain any one of the specified text strings is listed.
This example lists only the local subcommands.
asadmin> list-commands --localonly=true
********** Local Commands **********
change-admin-password
change-master-password
create-domain
create-service
delete-domain
export
help
list-commands
list-domains
login
monitor
multimode
restart-domain
start-database
start-domain
stop-database
stop-domain
unset
verify-domain-xml
version
Command list-commands executed successfully.
This example lists only the subcomands whose names contain the text
configure
or set
.
asadmin> list-commands configure set
********** Local Commands **********
setup-ssh
unset
********** Remote Commands **********
configure-jms-cluster set-log-levels
configure-lb-weight set-web-context-param
configure-ldap-for-admin set-web-env-entry
set unset-web-context-param
set-log-attributes unset-web-env-entry
Command list-commands executed successfully.
This example first displays a list of the local subcommands, followed by a partial list of the remote subcommands.
asadmin> list-commands
********** Local Commands **********
change-admin-password
change-master-password
create-domain
create-service
delete-domain
export
help
list-commands
list-domains
login
monitor
multimode
restart-domain
start-database
start-domain
stop-database
stop-domain
unset
verify-domain-xml
version
********** Remote Commands **********
__locations enable
add-resources enable-monitoring
configure-ldap-for-admin flush-jmsdest
create-admin-object freeze-transaction-service
create-audit-module generate-jvm-report
create-auth-realm get
create-connector-connection-pool get-client-stubs
create-connector-resource get-host-and-port
create-connector-security-map jms-ping
create-connector-work-security-map list
create-custom-resource list-admin-objects
create-file-user list-app-refs
create-http list-applications
create-http-listener list-audit-modules
create-iiop-listener list-auth-realms
create-jdbc-connection-pool list-components
create-jdbc-resource list-connector-connection-pools
create-jms-host list-connector-resources
create-jms-resource list-connector-security-maps
create-jmsdest list-connector-work-security-maps
create-jndi-resource list-containers
create-jvm-options list-custom-resources
create-lifecycle-module list-file-groups
create-mail-resource list-file-users
create-message-security-provider list-http-listeners
create-network-listener list-iiop-listeners
create-password-alias list-jdbc-connection-pools
create-profiler list-jdbc-resources
create-protocol list-jms-hosts
create-resource-adapter-config list-jms-resources
create-resource-ref list-jmsdest
create-ssl list-jndi-entries
create-system-properties list-jndi-resources
create-threadpool list-jvm-options
create-transport list-lifecycle-modules
create-virtual-server list-logger-levels
delete-admin-object list-message-security-providers
delete-audit-module list-mail-resources
...