Sun GlassFish Enterprise Server v3 Prelude Administration Guide

ProcedureTo Display the Enterprise Server Version

The remote version command enables you to display information on the Enterprise Server version for a particular server. If the command cannot communicate with the server by using the specified login (user/password) and target (host/port) information, then the local version is displayed along with a warning message.

  1. Ensure that the server is running.

    Remote commands require a running server.

  2. Display the version by using the version(1) command.


Example 2–17 Displaying Version Information

The following example command displays the version of Enterprise Server on localhost:


asadmin version

Information similar to the following is displayed:


Version = GlassFish v3 Prelude
Command version executed successfully.

See Also

To see the full syntax and options of the command, type asadmin version --help at the command line.