Sun Microsystems Logo
Products and Services
 
Support and Training
 
 

A  B  C  D  E  F  G  H  I  J  K  L  M  N  O  P  Q  R  S  T  U  V  W  X  Y  Z  
 
User Commandsget(1)


NAME

 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 ]*

DESCRIPTION

 

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 Java System Application Server Administrator's Guide for a listing of the valid attribute names.


OPTIONS

 
--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.

OPERANDS

 
attributename
attribute anme in the dotted notation.

EXAMPLES

 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

EXIT STATUS

 
0
command executed successfully
1
error in executing the command

SEE ALSO

 

set(1), reconfig(1), list(1)



Go To TopLast Changed April 2004