Sun Java System Application Server Platform Edition 9 Administration Guide

The List, Get and Set Commands

The asadmin list, get and set commands work in tandem to provide a navigation mechanism for the Application Server's dotted naming hierarchy. There are two hierarchies: configuration andmonitoring and these commands operate on both. The list command provides the fully qualified dotted names of the management components that have read-only or modifiable attributes.

The configuration hierarchy provides attributes that are modifiable; whereas the attributes of management components from themonitoring hierarchy are purely read-only. Theconfiguration hierarchy is loosely based on the domain's schema document; whereas the monitoring hierarchy is a little different.

Use the list command to reach a particular management component in the desired hierarchy. Then, invoke the getand set commands to get the names and values or set the values of the attributes of the management component at hand. Use the wildcard (*) option to fetch all matches in a given fully qualified dotted name.

An Application Server dotted name uses the “.” (period) as a delimiter to separate the parts of a complete name. This is similar to how the “/” character is used to delimit the levels in the absolute path name of a file in the UNIX file system. The following rules apply while forming the dotted names accepted by the get, set, and list commands. Note that a specific command has some additional semantics applied.

The list command is the progenitor of navigational capabilities of these three commands. If you want to set or get attributes of a particular application server subsystem, you must know its dotted name. The list command is the one which can guide you to find the dotted name of that subsystem. For example, to find out the modified date (attribute) of a particular file in a large file system that starts with /. First you must find out the location of that file in the file system, and then look at its attributes. Therefore, two of the first commands to understand the hierarchies in the Application Server are: * list "*" and <command>* list * -‐monitor. Consult the get, set or list commands man pages to identify the sorted output of these commands.