155/461

## list-admin-objects

gets all the administered objects

Synopsis

    list-admin-objects [--help] [target]

Description

The `list-admin-objects` subcommand lists all the administered objects.

This subcommand is supported in remote mode only.

Options

`--help`
`-?`

  Displays the help text for the subcommand.

Operands

target

  The target for which administered objects are to be listed. Valid values are as follows:

  `server`

    Lists the administered objects on the default server instance. This is the default value.

  configuration-name

    Lists the administered objects in the specified configuration.

  cluster-name

    Lists the administered objects on all server instances in the specified cluster.

  instance-name

    Lists the administered objects on a specified server instance.

Examples

Example 1 Listing Administered Objects

  This example lists all the administered objects.

      asadmin> list-admin-objects
      jms/samplequeue
      jms/anotherqueue
      Command list-admin-objects executed successfully

Exit Status

0

  subcommand executed successfully

1

  error in executing the subcommand

See Also

create-admin-object(1), delete-admin-object(1)

asadmin(1M)