Sun Java System Application Server Platform Edition 8.1 2005Q2 Update 2 Administration Guide

- Previous: To use the PetStore example
- Next: Using JConsole

### Expected Output for list and get Commands at All Levels

The following tables show the command, dotted name, and corresponding output at each level of the tree.

Table 16–33 Top Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server` |
    server.applicationsserver.thread-poolsserver.
    resourcesserver.http-serviceserver.transaction-
    serviceserver.orb.connection-managersserver.orb.
    connection-managers.orb\.Connections\.Inbound\.
    AcceptedConnectionsserver.jvm
`list -m` | `server.*` | Hierarchy of child nodes below this node.
`get -m` | `server.*` | No output except a message saying there are no attributes at this node.

The following table shows the command, dotted name, and corresponding output for the applications level.

Table 16–34 Applications Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.applications` or `*applications` |
    appl1app2web-module1_warejb-module2_jar...
`list -m` | `server.applications.*` or `*applications.*` | Hierarchy of child nodes below this node.
`get -m` | `server.applications.*` or `*applications.*` | No output except message saying there are no attributes at this node.

The following table shows the command, dotted name, and corresponding output for stand-alone modules and enterprise applications at the applications level.

Table 16–35 Applications - Enterprise Applications and Standalone Modules

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.applications.app1` or `*app1` Note: this level is only applicable if an enterprise application has been deployed. It is not applicable if a standalone module is deployed. | `ejb-module1_jarweb-module2_warejb-module3_jarweb-module3_war...`
`list -m` | `server.applications.app1.*` or `*app1.*` | Hierarchy of child nodes below this node.
`get -m` | `server.applications.app1.*` or `*app1.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.applications.app1.ejb-module1_jar` or `*ejb-module1_jar` or `server.applications.ejb-module1_jar` | `bean1bean2bean3...`
`list -m` | `server.applications.app1.ejb-module1_jar` or `*ejb-module1_jar` or `server.applications.ejb-module1_jar` | Hierarchy of child nodes below this node.
`get -m` | `server.applications.app1.ejb-module1_jar.*` or `*ejb-module1_jar.*` or `server.applications.ejb-module1_jar.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.applications.app1.ejb-module1_jar.bean1` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | List of child nodes: `bean-poolbean-cachebean-method`
`list -m` | `server.applications.app1.ejb-module1_jar.bean1` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | Hierarchy of child nodes and a list of all attributes for this node and for any subsequent child nodes.
`get -m` | `server.applications.app1.ejb-module1_jar.bean1.*` Note: In standalone modules, the node containing the application name (`app1` in this example) does not appear. | The following attributes and their associated values:
    CreateCount_CountCreateCount_
    DescriptionCreateCount_
    LastSampleTimeCreateCount_
    NameCreateCount_
    StartTimeCreateCount_
    UnitMethodReadyCount_
    CurrentMethodReadyCount_
    DescriptionMethodReadyCount_
    HighWaterMarkMethodReadyCount_
    LastSampleTimeMethodReadyCount_
    LowWaterMarkMethodReadyCount_
    NameMethodReadyCount_
    StartTimeMethodReadyCount_
    UnitRemoveCount_CountRemoveCount_
    DescriptionRemoveCount_
    LastSampleTimeRemoveCount_
    NameRemoveCount_StartTimeAttribute
    RemoveCount_Unit
`list -m` | `server.applications.app1.ejb-module1_jar.bean1.bean-pool` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | No attributes, but a message saying: Nothing to list at `server.applications.appl.ejb-module1_jar.bean1-cache`. To get the valid names beginning with a string, use the wildcard (*) character. For example, to list all names that begin with `server`, use `list server*`.
`get -m` | `server.applications.app1.ejb-module1_jar.bean1.bean-pool.*` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | List of attributes and values corresponding to EJB Pool attributes as described in Table 1-4.
`list -m` | `server.applications.app1.ejb-module1_jar.bean1.bean-cache` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.applications.app1.ejb-module1_jar.bean1.bean-cache.*` Note: In standalone modules, the node containing the application name (`app1` in this example) does not appear. | List of attributes and values corresponding to EJB Cache attributes as described in Table 1-5.
`list -m` | `server.applications.app1.ejb-module1_jar.bean1.bean-method.method1` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.applications.app1.ejb-module1_jar.bean1.bean-method.method1.*` Note: In standalone modules, the node containing the application name (`app1` in this example) will not appear. | List of attributes and values corresponding to EJB Methods attributes as described in Table 1-2.
`list -m` | `server.applications.app1.web-module1_war` | Displays the virtual server(s) assigned to the module.
`get -m` | `server.applications.app1.web-module1_war.*` | No output except a message saying there are no attributes at this node.
`list -m` | `server.applications.app1.web-module1_war.virtual_server` | Displays list of servlets registered.
`get -m` | `server.applications.app1.web-module1_war.virtual_server.*` | No output except a message saying there are no attributes at this node.
`list -m` | `server.applications.app1.web-module1_war.virtual_server.servlet1` | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.applications.app1.web-module1_war.virtual_server.servlet1.*` | List of attributes and values corresponding to web container (Servlet) attributes as described in Table 1-7.

The following table shows the command, dotted name, and corresponding output for the HTTP Service level.

Table 16–36 HTTP-Service Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.http-service` | List of virtual servers.
`get -m` | `server.http-service.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.http-service.server` | List of HTTP Listeners.
`get -m` | `server.http-service.server.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.http-service.server.http-listener1` | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.http-service.server.*` | List of attributes and values corresponding to HTTP Service attributes as described in Table 1-9.

The following table shows the command, dotted name, and corresponding output for the thread pools level.

Table 16–37 Thread-Pools Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.thread-pools` | List of thread-pool names.
`get -m` | `server.thread-pools.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.thread-pools.orb\.threadpool\.thread-pool-1` | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.thread-pools..orb\.threadpool\.thread-pool-1.*` | List of attributes and values corresponding to Thread Pool attributes as described in Table 1-14.

The following table shows the command, dotted name, and corresponding output for the resources level.

Table 16–38 Resources Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.resources` | List of pool names.
`get -m` | `server.resources.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.resources.jdbc-connection-pool-pool.connection-pool1` | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.resources.jdbc-connection-pool-pool.connection-pool1.*` | List of attributes and values corresponding to Connection Pool attributes as described in Table 1-10.

The following table shows the command, dotted name, and corresponding output for the transaction service level.

Table 16–39 Transaction-Service Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.transaction-service` | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.transaction-service.*` | List of attributes and values corresponding to Transaction Service attributes as described in Table 1-15.

The following table shows the command, dotted name, and corresponding output for the ORB level.

Table 16–40 ORB Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.orb` | `server-orb.connection-managers`
`get -m` | `server.orb.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.orb.connection-managers` | Name(s) of ORB connection managers.
`get -m` | `server.orb.connection-managers.*` | No output except message saying there are no attributes at this node.
`list -m` | `server.orb.connection-managers.orb\.Connections\.Inbound\.AcceptedConnections` | No attributes, but a message saying “Use get command with the --monitor option to view this node’s attributes and values.”
`get -m` | `server.orb.connection-managers.orb\.Connections\.Inbound\.AcceptedConnections.*` | List of attributes and values corresponding to ORB Connection Manager attributes as described in Table 1-13.

The following table shows the command, dotted name, and corresponding output for the JVM level.

Table 16–41 JVM Level

Command | Dotted Name | Output
--- | --- | ---
`list -m` | `server.jvm` | No attributes, but a message saying “Use get command with the `--monitor` option to view this node’s attributes and values.”
`get -m` | `server.jvm.*` | List of attributes and values corresponding to JVM attributes as described in Table 1-16.

- Previous: To use the PetStore example
- Next: Using JConsole

- © 2010, Oracle Corporation and/or its affiliates