3.8. JMX - Server
Overview
Table 3.4164. Overview
| Description: | Generic JMX Server |
| Singleton: | no |
| Plugin: | JMX |
Note
Child Resource Types
Autodiscovery Process Scans
Table 3.4165. Metrics
| Name | Query |
|---|---|
| java | process|basename|match=^java.* |
Connection Properties
Table 3.4166.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Type | The EMS connection type for this JMX Server | yes | type |
| Connector Address | The connection url in the form of a JMXServiceURL - this should only be set if the JVM has JMX Remoting enabled | no | connectorAddress |
| Install URI | The installation path for the selected server type which will be used to find client libraries (if appropriate) | no | installURI |
| Principal | The login principal/username | no | principal |
| Credentials | The login credentials/password | no | credentials |
| Additional Class Path Entries | Comma-separated list of directories and filenames that contain resources and classes needed to communicate with the JMX Server and its MBeans. If you specify 'some/directory/*.jar', all jars found in the given directory will be added. | no | additionalClassPathEntries |
| Command Line | the command line of the JVM at the time it was discovered - only used by JVMs with type Local; if the command line of the JVM changes, this property's value will need to be updated accordingly in order for RHQ to connect to the JVM | no | commandLine |
Note
Metrics
Configuration Properties
Operations
Package Types
3.8.1. JMX - Operating System Service
Overview
Table 3.4167. Overview
| Description: | |
| Singleton: | yes |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4168.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate | |
| Description Template | yes | descriptionTemplate |
Note
Metrics
Table 3.4169. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Free Physical Memory | measurement | The amount of free physical memory for the OS | FreePhysicalMemorySize |
| Free Swap Memory | measurement | The amount of free swap space for the OS | FreeSwapSpaceSize |
| Process CPU Time | measurement | The cpu time used by this process | ProcessCpuTime |
| Process CPU Time per Minute | measurement | The cpu time used by this process | ProcessCpuTime |
| Committed Virtual Memory | measurement | Size of virtual memory used by this process | CommittedVirtualMemorySize |
| Open Files | measurement | The number of files opened by this process. Note that this metric is not supported on Windows. | OpenFileDescriptorCount |
Note
Configuration Properties
Operations
Package Types
3.8.2. JMX - Threading Service
Overview
Table 3.4170. Overview
| Description: | Information on threading in the VM |
| Singleton: | yes |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4171.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate |
Note
Metrics
Table 3.4172. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Thread Count | measurement | Number of active threads in the system | ThreadCount |
| Peak Thread Count | measurement | Peak count of active threads in the system | PeakThreadCount |
| Total Started Thread Count | measurement | Count of threads started since system start | TotalStartedThreadCount |
| Daemon Thread Count | measurement | Count of threads marked as daemons in the system | DaemonThreadCount |
| Suspended Thread Count | measurement | Count of suspended threads | SuspendedThreadCount |
| Deadlocked Thread Count | measurement | Count of threads that are deadlocked waiting to acquire object monitors. This is a CPU-time consuming metric. | DeadLockedThreadCount |
Note
Configuration Properties
Table 3.4173.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Thread Contention Monitoring Enabled | yes | ThreadContentionMonitoringEnabled | |
| Thread Cpu Time Enabled | yes | ThreadCpuTimeEnabled |
Note
Operations
Table 3.4174. Metrics
| Name | Description |
|---|---|
| Reset Peak Thread Metrics | Reset the peak number of threads |
| Find Monitor Deadlocked Threads | Finds cycles of threads that are in deadlock waiting to acquire object monitors |
| Thread Dump | Returns a summary of all live threads, including both daemon and non-daemon threads |
Package Types
3.8.3. JMX - VM Memory System Service
Overview
Table 3.4175. Overview
| Description: | The memory system of the Java virtual machine including both the heap and non-heap memory. |
| Singleton: | yes |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4176.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate |
Note
Metrics
Table 3.4177. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Heap Usage | measurement | Current heap memory usage | {HeapMemoryUsage.used} |
| Heap Usage Percentage | measurement | Current heap memory usage as percentage of committed heap | Calculated.HeapUsagePercentage |
| Heap Committed | measurement | Current heap memory allocated. This amount of memory is guaranteed for the Java virtual machine to use | {HeapMemoryUsage.committed} |
| Non-Heap Usage | measurement | Current memory usage outside the heap | {NonHeapMemoryUsage.used} |
| Non-Heap Committed | measurement | Current memory allocated outside the heap. This amount of memory is guaranteed for the Java virtual machine to use | {NonHeapMemoryUsage.committed} |
| Objects Pending Finalization | measurement | The approximate number of objects for which finalization is pending. | ObjectPendingFinalizationCount |
| Heap Initial Size | trait | The amount of heap that the Java virtual machine initially requests from the operating system | {HeapMemoryUsage.init} |
| Heap Maximum Size | trait | Maximum amount of heap that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size. | {HeapMemoryUsage.max} |
| Non-Heap Initial Size | trait | The amount of non-heap memory that the Java virtual machine initially requests from the operating system | {NonHeapMemoryUsage.init} |
| Non-Heap Maximum Size | trait | Maximum amount of non-heap memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size. | {NonHeapMemoryUsage.max} |
Note
Configuration Properties
Table 3.4178.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Verbose | Output verbose information to the output stream to regarding Memory. Typically, a Java virtual machine implementation prints a message when it frees memory through garbage collection. | yes | Verbose |
Note
Operations
Table 3.4179. Metrics
| Name | Description |
|---|---|
| Run Garbage Collection | Runs the garbage collector. |
Package Types
3.8.3.1. JMX - Memory Pool Service
Overview
Table 3.4180. Overview
| Description: | A memory pool represents the memory resource managed by the Java virtual machine and is managed by one or more memory managers. |
| Singleton: | no |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4181.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate | |
| Description Template | yes | descriptionTemplate | |
| Name | The memory pool's name | yes | name |
Note
Metrics
Table 3.4182. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Used | measurement | Current memory usage | {Usage.used} |
| Committed | measurement | Current memory allocated | {Usage.committed} |
| Initial Size | trait | The amount of memory that the Java virtual machine initially requests from the operating system | {Usage.init} |
| Maximum Size | trait | Maximum amount of memory that can be used for memory management. This amount of memory is not guaranteed to be available if it is greater than the amount of committed memory. The Java virtual machine may fail to allocate memory even if the amount of used memory does not exceed this maximum size. | {Usage.max} |
| Memory Manager Names | trait | Garbage collectors for this space | MemoryManagerNames |
| Type | trait | Pool location | Type |
Note
Configuration Properties
Operations
Package Types
3.8.3.2. JMX - Garbage Collector Service
Overview
Table 3.4183. Overview
| Description: | A garbage collector that collects one or more memory pool. |
| Singleton: | no |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4184.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate | |
| Description Template | yes | descriptionTemplate | |
| Name | The garbage collector's name | yes | name |
Note
Metrics
Table 3.4185. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Collection Count | measurement | Number of collections | CollectionCount |
| Collection Count per Minute | measurement | Number of collections | CollectionCount |
| Collection Time | measurement | The amount of time spent in collection | CollectionTime |
| Collection Time per Minute | measurement | The amount of time spent in collection | CollectionTime |
| Memory Pool Names | trait | The names of the memory pools used by this type of garbage collector | MemoryPoolNames |
Note
Configuration Properties
Operations
Package Types
3.8.4. JMX - VM Compilation System Service
Overview
Table 3.4186. Overview
| Description: | The compilation system of the Java virtual machine |
| Singleton: | yes |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4187.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate |
Note
Metrics
Table 3.4188. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Total Compilation Time | measurement | The approximate accumulated elapsed time spent in compilation | TotalCompilationTime |
Note
Configuration Properties
Operations
Package Types
3.8.5. JMX - VM Class Loading System Service
Overview
Table 3.4189. Overview
| Description: | The class loading system of the Java virtual machine |
| Singleton: | yes |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4190.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate |
Note
Metrics
Table 3.4191. Metrics
| Name | Type | Description | Internal Name |
|---|---|---|---|
| Loaded Classes | measurement | The number of classes currently loaded in the VM | LoadedClassCount |
| Total Classes Loaded | measurement | The total number of classes loaded since the start of the VM | TotalLoadedClassCount |
| Total Classes Loaded per Minute | measurement | The total number of classes loaded since the start of the VM | TotalLoadedClassCount |
| Unloaded Classes | measurement | The total number of classes unloaded since the start of the VM | UnloadedClassCount |
| Unloaded Classes per Minute | measurement | The total number of classes unloaded since the start of the VM | UnloadedClassCount |
Note
Configuration Properties
Table 3.4192.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Verbose | Output verbose information to the output stream to regarding class loading. Typically, a Java virtual machine implementation prints a message each time a class file is loaded. | yes | Verbose |
Note
Operations
Package Types
3.8.6. JMX - java.util.logging Service
Overview
Table 3.4193. Overview
| Description: | Logging control for the java.util.logging subsystem |
| Singleton: | yes |
| Plugin: | JMX |
Child Resource Types
Connection Properties
Table 3.4194.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Object Name | yes | objectName | |
| Name Template | yes | nameTemplate | |
| Config Management Enabled | When false, configuration reading for this resource will fail. | yes | configManagementEnabled |
Note
Metrics
Configuration Properties
Table 3.4195.
| Name | Description | Required | Internal Name |
|---|---|---|---|
| Appender List | yes | AppenderList |
Note

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.