Gets the values of configurable or monitorable attributes.


asadmin [asadmin-options] get [--help]


The get subcommand uses dotted names to get the names and values of configurable or monitorable attributes for Payara Server elements.

You can use the list subcommand to display the dotted names that represent individual server components and subsystems. For example, a dotted name might be server.applications.web-module. Attributes from the monitoring hierarchy are read-only, but configuration attributes can be modified using the set subcommand. For more detailed information on dotted names, see the dotted-names help page.

Characters that have special meaning to the shell or command interpreter, such as * (asterisk), should be quoted or escaped as appropriate to the shell, for example, by enclosing the argument in quotes. In multimode, quotes are needed only for arguments that include spaces, quotes, or backslash.

The following list shows common usage of the get subcommand with the * (asterisk):

get or get *.

Gets all values on all dotted name prefixes.

get domain* or get domain*.*

Gets all values on the dotted names that begin with domain.

get config..

Gets all values on the dotted names that match config.*.

get domain.j2ee-applications..ejb-module..*

Gets all values on all EJB modules of all applications.

get web-modules..*

Gets all values on all web modules whether in an application or standalone.

get ...

Gets all values on all dotted names that have four parts.



Options for the asadmin utility. For information about these options, see the asadmin help page.


Displays the help text for the subcommand.


Defaults to false. If set to false, the configurable attribute values are returned. If set to true, the monitorable attribute values are returned.


Aggregates monitoring data for all Payara Server instances in a cluster. The default value is false.



Identifies the attribute name in the dotted notation. At least one dotted name attribute is required. The dotted notation is the syntax used to access attributes of configurable entities.


Example 1 Getting the Attributes of a Configurable Element

This example gets the attributes of listener.http-listener-1.

asadmin> get server.http-service.http-listener.http-listener-1.*
server.http-service.http-listener.http-listener-1.acceptor-threads = 1
server.http-service.http-listener.http-listener-1.address =
server.http-service.http-listener.http-listener-1.blocking-enabled = false
server.http-service.http-listener.http-listener-1.default-virtual-server = server
server.http-service.http-listener.http-listener-1.enabled = true
server.http-service.http-listener.http-listener-1.external-port = = inet = http-listener-1
server.http-service.http-listener.http-listener-1.port = 8080
server.http-service.http-listener.http-listener-1.redirect-port = = false
server.http-service.http-listener.http-listener-1.server-name =
server.http-service.http-listener.http-listener-1.xpowered-by = true
Command get executed successfully.

Example 2 Getting Monitorable Objects

This example gets the configuration attributes for setting the monitoring level and shows whether they are enabled (LOW or HIGH) or disabled (OFF). The jvm component is enabled for monitoring.

asadmin> get server.monitoring-service.module-monitoring-levels.*
Command get executed successfully.

Example 3 Getting Attributes and Values for a Monitorable Object

This example gets all attributes and values of the jvm monitorable object.

asadmin> get --monitor server.jvm.*
server.jvm.HeapSize_Current = 45490176
server.jvm.HeapSize_Description = Describes JvmHeapSize
server.jvm.HeapSize_HighWaterMark = 45490176
server.jvm.HeapSize_LastSampleTime = 1063217002433
server.jvm.HeapSize_LowWaterMark = 0
server.jvm.HeapSize_LowerBound = 0
server.jvm.HeapSize_Name = JvmHeapSize
server.jvm.HeapSize_StartTime = 1063238840055
server.jvm.HeapSize_Unit = bytes
server.jvm.HeapSize_UpperBound = 531628032
server.jvm.UpTime_Count = 1063238840100
server.jvm.UpTime_Description = Describes JvmUpTime
server.jvm.UpTime_LastSampleTime = 1-63238840070
server.jvm.UpTime_Name = JvmUpTime
server.jvm.UpTime_StartTime = 1063217002430
server.jvm.UpTime_Unit = milliseconds
Command get executed successfully.

Exit Status


subcommand executed successfully


error in executing the subcommand

See Also