java.lang.Object
org.jppf.management.diagnostics.provider.Oshi

public final class Oshi extends Object
Instances of this class wrap a singleton SystemInfo object, which is the entry point for the Oshi API.
Author:
Laurent Cohen
  • Method Details

    • getSystemInfo

      public static oshi.SystemInfo getSystemInfo()
      Returns:
      the entry point to the Oshi API.
    • getCurrentPlatformName

      public String getCurrentPlatformName()
      Get the name of the current OS family (one of "WINDOWS", "LINUX", "MACOSX", "SOLARIS", "FREEBSD", "UNKNOWN").
      Returns:
      the name of the current platform (OS family).