Package oshi.driver.linux
Class Lshal
java.lang.Object
oshi.driver.linux.Lshal
@ThreadSafe public final class Lshal extends java.lang.Object
Utility to read info from
lshal-
Method Summary
Modifier and Type Method Description static java.lang.StringquerySerialNumber()Query the serial number from lshalstatic java.lang.StringqueryUUID()Query the UUID from lshalMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
querySerialNumber
public static java.lang.String querySerialNumber()Query the serial number from lshal- Returns:
- The serial number if available, null otherwise
-
queryUUID
public static java.lang.String queryUUID()Query the UUID from lshal- Returns:
- The UUID if available, null otherwise
-