sun.com | docs.sun.com |  | How To Buy | My Sun | Worldwide Sites |

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 Commands | get(1)

- NAME
- SYNOPSIS
- DESCRIPTION
- OPTIONS
- OPERANDS
- EXAMPLES
- EXIT STATUS
- INTERFACE EQUIVALENT
- SEE ALSO

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

## INTERFACE EQUIVALENT

> Anywhere in the Administrator interface

## SEE ALSO

> `set`(1), `reconfig`(1), `list`(1)

Sun Java System Application Server | Go To Top | Last Changed 24 Dec 2003

Company Info | Contact | Copyright 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.