Class Lshal

java.lang.Object
oshi.driver.linux.Lshal

@ThreadSafe public final class Lshal extends Object
Utility to read info from lshal
  • Method Details

    • querySerialNumber

      public static String querySerialNumber()
      Query the serial number from lshal
      Returns:
      The serial number if available, null otherwise
    • queryUUID

      public static String queryUUID()
      Query the UUID from lshal
      Returns:
      The UUID if available, null otherwise