 |
|
|
NAME
| | asadmin-get, get - gets the values of the monitorable or configurable attributes. |
SYNOPSIS
| | get[ --monitor ]--user admin_user[ --password admin_password ][ --host localhost ]
[ --port 4848 ][ --passwordfile filename ][ --secure|-s ]attributename[ attribute_name ]* |
| |
Use the get to get the values of attributes. If the --monitoroption is set to true, the monitorable attributes are returned. If the--monitor option is set to false, the configurable attribute values are returned. When using the wildcard character
to get multiple attribute values while in single mode, enclose the attribute in double quotes. If you are in multimode, DO NOT use the double quotes.
See the Sun ONE Application Server 7, Administrator's Guide for a listing of the valid attribute names.
|
| |
- --monitor
- defaults to false; if set to false, the configurable attribute values are returned. If set to true, the monitorable attribute values are returned.
- --user
- administrative user associated for the instance.
- --password
- administrative password corresponding to the administrative user.
- --host
- host name of the machine hosting the administrative instance.
- --port
- administrative port number associated with the administrative host.
- --passwordfile
- file containing passwords appropriate for the command (e.g., administrative instance).
- --secure
- if true, uses SSL/TLS to communicate with the administrative instance.
|
| |
-
attributename
- attribute anme in the dotted notation.
|
| | Example 1. Using get
| |
| |
asadmin> get --user admin --passwordfile passwords.txt --host localhost --port 4848 server1.application.fortune.* server1.application.fortune.location=C:\AS7SE\domains\domain1\server\apps\j2ee-apps\fortune_1
server1.application.fortune.enabled=true
server1.application.fortune.name=fortune
server1.application.fortune.description=null
server1.application.fortune.virtualServers=server1
|
|
|
| |
- 0
- command executed successfully
- 1
- error in executing the command
|
| |
Anywhere in the Administrator interface
|
| Sun ONE Application Server | Go To Top | Last Changed 9 Sep 2002 |
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|