2.11.8 list-jvm-options
Lists options for Java VM.
Synopsis
asadmin [asadmin-options] list-jvm-options [--help] [--target target] [--profiler={false|true}]
Storage location
Application Server installation directory/javaee/glassfish/bin
Function
The list-jvm-options subcommand of asadmin displays a list of command-line options that are passed to Java VM when Java EE Server is started.
The options are managed using the create-jvm-options and delete-jvm-options commands. This subcommand is supported in remote mode only.
Precondition
Domain Administration Server (DAS) is running.
Arguments
- --help | -?
-
Displays the help text for the subcommand.
- --target target
-
Specifies the target for which Java VM options are to be listed.
Type: String
The following values can be specified:
-
server
Specifies the DAS. This is the default value.
-
configuration-name
Specifies a named configuration.
-
cluster-name
Specifies a cluster.
-
instance-name
Specifies a server instance.
Default value: server
-
- --profiler={false|true}
-
Specifies whether Java VM options to list, are for the profiler.
Set this option to true only if a profiler has been configured. If this option is set to true and no profiler is configured, an error occurs.
Type: Boolean
The following values can be specified:
-
true
-
false
Default value: false
-
Examples
The following example lists the options that are used by Java VM on the server instance instance1.
asadmin list-jvm-options --target instance1
Exit Status
Exit Status |
Explanation |
---|---|
0 |
subcommand executed successfully. |
1 |
error in executing the subcommand. |