java.lang.Object
oshi.driver.linux.Sysfs
Utility to read info from
sysfs
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
Query the bios description from sysfsstatic String
Query the bios release date from sysfsstatic String
Query the bios vendor from sysfsstatic String
queryBiosVersion
(String biosRevision) Query the bios version from sysfsstatic String
Query the board model from sysfsstatic String
Query the board serial number from sysfsstatic String
Query the board vendor from sysfsstatic String
Query the board version from sysfsstatic String
Query the model from sysfsstatic String
Query the product serial number from sysfsstatic String
Query the vendor from sysfsstatic String
Query the UUID from sysfs
-
Method Details
-
querySystemVendor
Query the vendor from sysfs- Returns:
- The vendor if available, null otherwise
-
queryProductModel
Query the model from sysfs- Returns:
- The model if available, null otherwise
-
queryProductSerial
Query the product serial number from sysfs- Returns:
- The serial number if available, null otherwise
-
queryUUID
Query the UUID from sysfs- Returns:
- The UUID if available, null otherwise
-
queryBoardVendor
Query the board vendor from sysfs- Returns:
- The board vendor if available, null otherwise
-
queryBoardModel
Query the board model from sysfs- Returns:
- The board model if available, null otherwise
-
queryBoardVersion
Query the board version from sysfs- Returns:
- The board version if available, null otherwise
-
queryBoardSerial
Query the board serial number from sysfs- Returns:
- The board serial number if available, null otherwise
-
queryBiosVendor
Query the bios vendor from sysfs- Returns:
- The bios vendor if available, null otherwise
-
queryBiosDescription
Query the bios description from sysfs- Returns:
- The bios description if available, null otherwise
-
queryBiosVersion
Query the bios version from sysfs- Parameters:
biosRevision
- A revision string to append- Returns:
- The bios version if available, null otherwise
-
queryBiosReleaseDate
Query the bios release date from sysfs- Returns:
- The bios release date if available, null otherwise
-