Package oshi.driver.linux
Class Dmidecode
java.lang.Object
oshi.driver.linux.Dmidecode
@ThreadSafe public final class Dmidecode extends java.lang.Object
Utility to read info from
dmidecode-
Method Summary
Modifier and Type Method Description static Pair<java.lang.String,java.lang.String>queryBiosNameRev()Query the name and revision from dmidecodestatic java.lang.StringquerySerialNumber()Query the serial number from dmidecode
-
Method Details
-
querySerialNumber
public static java.lang.String querySerialNumber()Query the serial number from dmidecode- Returns:
- The serial number if available, null otherwise
-
queryBiosNameRev
Query the name and revision from dmidecode- Returns:
- The a pair containing the name and revision if available, null values in the pair otherwise
-