list-configs

Lists named configurations.

Synopsis

asadmin [asadmin-options] list-configs [--help]
[target]

Description

The list—configs subcommand lists named configurations in the configuration of the domain administration server (DAS). The list can be filtered by cluster, instance, or named configuration.

This subcommand is supported in remote mode only.

Options

asadmin-options

Options for the asadmin utility. For information about these options, see the asadmin help page.

--help
-?

Displays the help text for the subcommand.

Operands

target

Filters the list of configurations. Valid values are as follows:

domain

Lists all named configurations in the current domain.

cluster-name

Lists the named configuration that defines the configuration of instances in the specified cluster.

instance-name

Lists the named configuration that defines the configuration of the specified instance.

configuration-name

Lists the specified named configuration. Use this option to determine whether a named configuration exits.

Examples

Example 1 Listing All Named Configurations in a Domain

This example lists all named configurations in the current domain.

asadmin> list-configs
server-config
default-config
pmdclust-config
pmdsharedconfig
pmdcpinst-config
ymlclust-config
il1-config
il2-config

Command list-configs executed successfully.

Exit Status

0

command executed successfully

1

error in executing the command

See Also