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.String querySerialNumber()
    Query the serial number from lshal

    Methods 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