Class Oshi
java.lang.Object
org.jppf.management.diagnostics.provider.Oshi
Instances of this class wrap a singleton
SystemInfo object, which is the entry point for the
Oshi API.- Author:
- Laurent Cohen
-
Method Summary
Modifier and TypeMethodDescriptionGet the name of the current OS family (one of "WINDOWS", "LINUX", "MACOSX", "SOLARIS", "FREEBSD", "UNKNOWN").static oshi.SystemInfo
-
Method Details
-
getSystemInfo
public static oshi.SystemInfo getSystemInfo()- Returns:
- the entry point to the Oshi API.
-
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).
-