Package org.glassfish.admin.monitor.jvm
Class JVMOSStatsProvider
- java.lang.Object
-
- org.glassfish.admin.monitor.jvm.JVMOSStatsProvider
-
@AMXMetadata(type="operating-system-mon", group="monitoring") @ManagedObject @Description("JVM Operating System Statistics") public class JVMOSStatsProvider extends ObjectClass providing the MBean for JVM operating system statisticsThe MBean will be of the format
amx:pp=/mon/server-mon[server],type=operating-system-mon,name=jvm/operating-systemand can be enabled by turning the Jvm monitoring level in the admin console to LOW- Since:
- v2
-
-
Constructor Summary
Constructors Constructor Description JVMOSStatsProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.glassfish.external.statistics.StringStatisticgetArch()Gets the operating system architecture i.e.org.glassfish.external.statistics.CountStatisticgetAvailableProcessors()Gets the number of processors available to the Java virtual machineorg.glassfish.external.statistics.StringStatisticgetOSName()Gets the operating system name i.e.org.glassfish.external.statistics.StringStatisticgetOSVersion()Gets the operating system version
-
-
-
Method Detail
-
getArch
@ManagedAttribute(id="arch-current") @Description("operating system architecture") public org.glassfish.external.statistics.StringStatistic getArch()Gets the operating system architecture i.e. i386 or amd64- Returns:
- a
StringStatisticwith the name of architecture
-
getAvailableProcessors
@ManagedAttribute(id="availableprocessors-count") @Description("number of processors available to the Java virtual machine") public org.glassfish.external.statistics.CountStatistic getAvailableProcessors()Gets the number of processors available to the Java virtual machine- Returns:
- a
CountStatisticwith the number of processors
-
getOSName
@ManagedAttribute(id="name-current") @Description("operating system name") public org.glassfish.external.statistics.StringStatistic getOSName()Gets the operating system name i.e. Linux or Windows- Returns:
- a
StringStatisticwith the name of the operating system
-
getOSVersion
@ManagedAttribute(id="version-current") @Description("operating system version") public org.glassfish.external.statistics.StringStatistic getOSVersion()Gets the operating system version- Returns:
- a
StringStatisticwith the operating system version
-
-