 |
|
|
NAME
| version - displays the version information |
SYNOPSIS
| version [ --user admin_user ] [ --password admin_password ] [ --host localhost ]
[ --port 4848 ] [ --secure|-s ] [ --passwordfile filename ] [ --terse=false ]
[ --echo=false ] [ --interactive ] [ --verbose=false ] |
|
version displays the version information. This command
is supported in remote mode only.
|
|
- -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.
|
| 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)
|
|
|
|
- 0
- command executed successfully
- 1
- error in executing the command
|
Company Info
|
Contact
|
Copyright 2003 Sun Microsystems, Inc. All rights reserved.
Use is subject to license terms.
|