@AMXMetadata(type="operating-system-mon", group="monitoring") @ManagedObject @Description(value="JVM Operating System Statistics") public class JVMOSStatsProvider extends Object
The MBean will be of the format
amx:pp=/mon/server-mon[server],type=operating-system-mon,name=jvm/operating-system
and can be enabled by turning the Jvm monitoring level in the admin console to LOW
Constructor and Description |
---|
JVMOSStatsProvider() |
Modifier and Type | Method and Description |
---|---|
org.glassfish.external.statistics.StringStatistic |
getArch()
Gets the operating system architecture i.e.
|
org.glassfish.external.statistics.CountStatistic |
getAvailableProcessors()
Gets the number of processors available to the Java virtual machine
|
org.glassfish.external.statistics.StringStatistic |
getOSName()
Gets the operating system name i.e.
|
org.glassfish.external.statistics.StringStatistic |
getOSVersion()
Gets the operating system version
|
@ManagedAttribute(id="arch-current") @Description(value="operating system architecture") public org.glassfish.external.statistics.StringStatistic getArch()
StringStatistic
with the name of architecture@ManagedAttribute(id="availableprocessors-count") @Description(value="number of processors available to the Java virtual machine") public org.glassfish.external.statistics.CountStatistic getAvailableProcessors()
CountStatistic
with the number of processors@ManagedAttribute(id="name-current") @Description(value="operating system name") public org.glassfish.external.statistics.StringStatistic getOSName()
StringStatistic
with the name of the operating system@ManagedAttribute(id="version-current") @Description(value="operating system version") public org.glassfish.external.statistics.StringStatistic getOSVersion()
StringStatistic
with the operating system versionCopyright © 2020. All rights reserved.