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 Commandsversion(1)


NAME

 version - displays the version information

SYNOPSIS

 version[ - -useradmin_user ][ - -passwordadmin_password ][ --hostlocalhost ] [ - -port 4848 ][ - -secure|-s ][ --passwordfile filename ][ --terse=false ] [ - -echo=false ][ - -interactive ][ - -verbose=false ]

DESCRIPTION

version displays the version information. This command is supported in remote mode only.

OPTIONS

-u --user

administrative user associated for the instance.

-w --password

administrative password corresponding to the administrative user.

-H --host

host name of the machine hosting the administrative instance.

-p --port

administrative port number associated with the administrative host.

--passwordfile

file containing passwords appropriate for the command (e.g., administrative instance).

-s --secure

indicates communication with the administrative instance in secured mode.

--terse

indicates that any output data must be very concise, typically avoiding human-friendly sentences and favoring well-formatted data for consumption by a script.

--echo

setting to true will echo the command line statement on the standard output.

--interactive

prompts you for the required options that are not already specified.

--verbose

displays version information in detail.

EXAMPLES

Example 1. Using remote mode to display version
asadmin> version 
Sun Java System Application Server 7 2004Q2
Example 2. Using remote mode to display version in detail
asadmin> export --user admin --password adminadmin 
--host bluestar --port 4848 --verbose
Sun Java System Application Server 7 2004Q2 (build A021930-126949)

EXIT STATUS

0

command executed successfully

1

error in executing the command

SEE ALSO

help(1)


Sun Java System Application ServerGo To TopLast Changed 4 Feb 2004