Class OsProbe


  • public class OsProbe
    extends java.lang.Object
    • Method Detail

      • getFreePhysicalMemorySize

        public long getFreePhysicalMemorySize()
        Returns the amount of free physical memory in bytes.
      • getTotalPhysicalMemorySize

        public long getTotalPhysicalMemorySize()
        Returns the total amount of physical memory in bytes.
      • getFreeSwapSpaceSize

        public long getFreeSwapSpaceSize()
        Returns the amount of free swap space in bytes.
      • getTotalSwapSpaceSize

        public long getTotalSwapSpaceSize()
        Returns the total amount of swap space in bytes.
      • getSystemCpuPercent

        public short getSystemCpuPercent()
      • getInstance

        public static OsProbe getInstance()
      • osStats

        public OsStats osStats()