2.11.5 get
Retrieves the values of configurable attributes.
Synopsis
asadmin [asadmin-options] get [--help] attribute-name
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The get subcommand uses identifiers targeted by the setting to acquire setup values of Application Server.
For the parameters that can be specified as identifiers targeted by the setting, refer to List of parameters used with the set and get subcommands.
For the PRF-related parameters, if values are set for "Parameters starting with hitachi-prfs.hitachi-prf.PRF-name." and "Parameters starting with hitachi-prf-configs.hitachi-prf-config.PRF-configuration-name", then the value for "Parameters starting with hitachi-prfs.hitachi-prf.PRF-name." is valid.
For the Web server-related parameters, if values are set for "Parameters starting with hitachi-webservers.hitachi-webserver.web-server-name" and "Parameters starting with hitachi-webserver-configs.hitachi-webserver-config.web-server-configuration-name", then the value for "Parameters starting with hitachi-webservers.hitachi-webserver.web-server-name" is valid.
For the server instance-related parameters, if values are set for "Parameters starting with servers.server.Java-EE-server-name" and "Parameters starting with configs.config.configuration-name-of-Java-EE-server", then the value for "Parameters starting with servers.server.Java-EE-server-name" is valid.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- attribute-name
-
Specify the identifiers targeted by the setting. Specify at least one identifier targeted by the setting. Identifiers targeted by the setting are used to reference settings of Application Server.
You can use wild cards (*) in identifiers targeted by the setting. When using a wild card (*), enclose the identifier targeted by the setting with straight quotation marks (" ").
Type: String
The following values can be specified:
-
The identifier targeted by the setting
Default value: N/A
-
Examples
The following example gets the attributes of listener.http-listener-1.
asadmin get server.http-service.http-listener.http-listener-1.*
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |