Class OSSystemInfo.Details

java.lang.Object
com.iizix.os.OSSystemInfo.Details
Enclosing class:
OSSystemInfo<INFO>

public static final class OSSystemInfo.Details extends Object
Detailed information class.
Author:
Christopher Mindus
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    final long
    The amount of virtual memory that is guaranteed to be available to the running process in bytes, or -1L if this operation is not supported.
    final long
    The Java free memory.
    final long
    The amount of free physical memory in bytes, -1L if no supported.
    final long
    The amount of free swap space in bytes, -1 if no supported.
    final double
    The CPU usage of the Java Virtual Machine process between 0.0d and 1.0d: the process CPU time used since the previous sample of any caller, divided by the wall-clock time since then and by the number of processors.
    final long
    The CPU time used by the process on which the Java virtual machine is running in milliseconds, -1L if no supported.
    final double
    The "recent CPU usage" for the whole system in percent, -1d if no supported.
    final long
    The total Java memory available.
    final long
    The total amount of physical memory in bytes, -1L if no supported.
    final long
    The total amount of swap space in bytes, -1L if no supported.
  • Method Summary

  • Field Details

    • totalJVMMemorySize

      public final long totalJVMMemorySize
      The total Java memory available.
    • freeJVMMemorySize

      public final long freeJVMMemorySize
      The Java free memory.
    • totalPhysicalMemorySize

      public final long totalPhysicalMemorySize
      The total amount of physical memory in bytes, -1L if no supported.
    • freePhysicalMemorySize

      public final long freePhysicalMemorySize
      The amount of free physical memory in bytes, -1L if no supported.
    • committedVirtualMemorySize

      public final long committedVirtualMemorySize
      The amount of virtual memory that is guaranteed to be available to the running process in bytes, or -1L if this operation is not supported.
    • totalSwapSpaceSize

      public final long totalSwapSpaceSize
      The total amount of swap space in bytes, -1L if no supported.
    • freeSwapSpaceSize

      public final long freeSwapSpaceSize
      The amount of free swap space in bytes, -1 if no supported.
    • systemCPULoad

      public final double systemCPULoad
      The "recent CPU usage" for the whole system in percent, -1d if no supported.
    • processCPULoad

      public final double processCPULoad
      The CPU usage of the Java Virtual Machine process between 0.0d and 1.0d: the process CPU time used since the previous sample of any caller, divided by the wall-clock time since then and by the number of processors. -1d at the first sample of the JVM (no previous sample) or if no supported.
    • processCPUTime

      public final long processCPUTime
      The CPU time used by the process on which the Java virtual machine is running in milliseconds, -1L if no supported.