java.lang.Object
oshi.driver.linux.Lshw
Utility to read info from
lshw
-
Method Details
-
queryModel
Query the model from lshw- Returns:
- The model if available, null otherwise
-
querySerialNumber
Query the serial number from lshw- Returns:
- The serial number if available, null otherwise
-
queryUUID
Query the UUID from lshw- Returns:
- The UUID if available, null otherwise
-
queryCpuCapacity
public static long queryCpuCapacity()Query the CPU capacity (max frequency) from lshw- Returns:
- The CPU capacity (max frequency) if available, -1 otherwise
-